Class: Rails::Generators::AppBase::GemfileEntry
| Relationships & Source Files | |
| Inherits: | Struct 
 | 
| Defined in: | railties/lib/rails/generators/app_base.rb | 
Class Method Summary
Instance Attribute Summary
- #comment rw
- #commented_out rw
- #name rw
- #options rw
- #version rw
- #version=(value) rw
Constructor Details
    .new(name, version, comment, options = {}, commented_out = false)  ⇒ GemfileEntry 
  
# File 'railties/lib/rails/generators/app_base.rb', line 181
def initialize(name, version, comment, = {}, commented_out = false) super end
Class Method Details
.github(name, github, branch = nil, comment = nil)
[ GitHub ].path(name, path, comment = nil)
[ GitHub ].version(name, version, comment = nil)
[ GitHub ]Instance Attribute Details
#comment (rw)
[ GitHub ]# File 'railties/lib/rails/generators/app_base.rb', line 180
class GemfileEntry < Struct.new(:name, :version, :comment, :options, :commented_out)
#commented_out (rw)
[ GitHub ]# File 'railties/lib/rails/generators/app_base.rb', line 180
class GemfileEntry < Struct.new(:name, :version, :comment, :options, :commented_out)
#name (rw)
[ GitHub ]# File 'railties/lib/rails/generators/app_base.rb', line 180
class GemfileEntry < Struct.new(:name, :version, :comment, :options, :commented_out)
#options (rw)
[ GitHub ]# File 'railties/lib/rails/generators/app_base.rb', line 180
class GemfileEntry < Struct.new(:name, :version, :comment, :options, :commented_out)
#version (rw)
[ GitHub ]# File 'railties/lib/rails/generators/app_base.rb', line 201
class GemfileEntry < Struct.new(:name, :version, :comment, :options, :commented_out)
#version=(value) (rw)
[ GitHub ]# File 'railties/lib/rails/generators/app_base.rb', line 180
class GemfileEntry < Struct.new(:name, :version, :comment, :options, :commented_out)