Class: ArrayFu::ReadableStep
Instance Method Summary collapse
Instance Method Details
#create_using(builder) ⇒ Object
3 4 5 6 7 8 9 10 11 |
# File 'lib/arrayfu/readable_step.rb', line 3 def create_using(builder) Module.new do if (builder.readable) define_method(builder.name) do return instance_variable_get("@#{builder.name}") end end end end |