Class: Habuco::EachDefinition
- Inherits:
-
Object
- Object
- Habuco::EachDefinition
- Defined in:
- lib/habuco/each_definition.rb
Instance Attribute Summary collapse
-
#block ⇒ Object
readonly
Returns the value of attribute block.
-
#values ⇒ Object
readonly
Returns the value of attribute values.
Instance Method Summary collapse
-
#initialize(values, block) ⇒ EachDefinition
constructor
A new instance of EachDefinition.
Constructor Details
#initialize(values, block) ⇒ EachDefinition
Returns a new instance of EachDefinition.
5 6 7 8 |
# File 'lib/habuco/each_definition.rb', line 5 def initialize(values, block) @values = values @block = block end |
Instance Attribute Details
#block ⇒ Object (readonly)
Returns the value of attribute block.
3 4 5 |
# File 'lib/habuco/each_definition.rb', line 3 def block @block end |
#values ⇒ Object (readonly)
Returns the value of attribute values.
3 4 5 |
# File 'lib/habuco/each_definition.rb', line 3 def values @values end |