Class: Gutsy::Cli::Generator::ResourceState
- Inherits:
-
Object
- Object
- Gutsy::Cli::Generator::ResourceState
- Defined in:
- lib/gutsy/generator.rb
Instance Attribute Summary collapse
-
#gem_name_pascal ⇒ Object
readonly
Returns the value of attribute gem_name_pascal.
-
#resource_name ⇒ Object
readonly
Returns the value of attribute resource_name.
Instance Method Summary collapse
-
#initialize(resource_name, gem_name_pascal) ⇒ ResourceState
constructor
A new instance of ResourceState.
- #twine ⇒ Object
Constructor Details
#initialize(resource_name, gem_name_pascal) ⇒ ResourceState
Returns a new instance of ResourceState.
43 44 45 46 |
# File 'lib/gutsy/generator.rb', line 43 def initialize(resource_name, gem_name_pascal) @resource_name = resource_name @gem_name_pascal = gem_name_pascal end |
Instance Attribute Details
#gem_name_pascal ⇒ Object (readonly)
Returns the value of attribute gem_name_pascal.
41 42 43 |
# File 'lib/gutsy/generator.rb', line 41 def gem_name_pascal @gem_name_pascal end |
#resource_name ⇒ Object (readonly)
Returns the value of attribute resource_name.
41 42 43 |
# File 'lib/gutsy/generator.rb', line 41 def resource_name @resource_name end |
Instance Method Details
#twine ⇒ Object
48 49 50 |
# File 'lib/gutsy/generator.rb', line 48 def twine binding end |