Class: DevelopWithPassion::Arrays::ReadableStep
- Defined in:
- lib/developwithpassion_arrays/readable_step.rb
Instance Method Summary collapse
Instance Method Details
#run_using(builder) ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/developwithpassion_arrays/readable_step.rb', line 4 def run_using(builder) Module.new do if (builder.readable) define_method(builder.name) do return instance_variable_get("@#{builder.name}") end end end end |