Class: Gutsy::Generator::ResourceState

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/gutsy/generator/resource_state.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nameObject (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

#twineObject



14
15
16
# File 'lib/gutsy/generator/resource_state.rb', line 14

def twine
  binding
end