Class: DevelopWithPassion::Expander::ArrayReadableStep
- Defined in:
- lib/developwithpassion_expander/array_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_expander/array_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 |