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
Instance Method Summary
Constructor Details
.new(name, version, comment, options = {}, commented_out = false) ⇒ GemfileEntry
# File 'railties/lib/rails/generators/app_base.rb', line 421
def initialize(name, version, comment, = {}, commented_out = false) super end
Class Method Details
.floats(name, comment = nil)
[ GitHub ].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 420
class GemfileEntry < Struct.new(:name, :version, :comment, :, :commented_out)
#commented_out (rw)
[ GitHub ]#name (rw)
[ GitHub ]# File 'railties/lib/rails/generators/app_base.rb', line 420
class GemfileEntry < Struct.new(:name, :version, :comment, :, :commented_out)
#options (rw)
[ GitHub ]#version (rw)
[ GitHub ]# File 'railties/lib/rails/generators/app_base.rb', line 420
class GemfileEntry < Struct.new(:name, :version, :comment, :, :commented_out)