I’m experimenting with Ruby by writing some kind of DSL.
I wonder if It is possible calling given block to a proc with different
What I’m trying to achieve is something like this
t = Table.new
yield # with t.getBinding
so I will be able to write (in DSL part)
name = “FirstTable”
t.name = “FirstTable”