Class: ArrayFu::MutatorDetail
Instance Attribute Summary collapse
-
#block ⇒ Object
Returns the value of attribute block.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, block) ⇒ MutatorDetail
constructor
A new instance of MutatorDetail.
Constructor Details
#initialize(name, block) ⇒ MutatorDetail
Returns a new instance of MutatorDetail.
5 6 7 8 |
# File 'lib/arrayfu/mutator_detail.rb', line 5 def initialize(name,block) @name = name @block = block end |