Class: Gutsy::Generator::ResourceState
- Inherits:
-
Object
- Object
- Gutsy::Generator::ResourceState
- Extended by:
- Forwardable
- Defined in:
- lib/gutsy/generator/resource_state.rb
Instance Attribute Summary collapse
-
#resource_name ⇒ Object
readonly
Returns the value of attribute resource_name.
Instance Method Summary collapse
-
#initialize(resource_name, version_state) ⇒ ResourceState
constructor
A new instance of ResourceState.
- #twine ⇒ Object
Constructor Details
#initialize(resource_name, version_state) ⇒ ResourceState
Returns a new instance of ResourceState.
9 10 11 12 |
# File 'lib/gutsy/generator/resource_state.rb', line 9 def initialize(resource_name, version_state) @resource_name = resource_name @version_state = version_state end |
Instance Attribute Details
#resource_name ⇒ Object (readonly)
Returns the value of attribute resource_name.
6 7 8 |
# File 'lib/gutsy/generator/resource_state.rb', line 6 def resource_name @resource_name end |
Instance Method Details
#twine ⇒ Object
14 15 16 |
# File 'lib/gutsy/generator/resource_state.rb', line 14 def twine binding end |