It's too bloody magic and it's not good idea to use instance_exec, because then I can't use block and it evaluates the block every time in different namespace which is bad.
However there is the issue with the block for lambda:
Rango::GV.define do |request, response| # or whatever ... so how to integrate it into controller when we are using include Rango::GV ?
# etc
end
Also there should be one model for one generic view, so I don't have to include the whole Rango::GV if I want to customize something.
It's too bloody magic and it's not good idea to use instance_exec, because then I can't use block and it evaluates the block every time in different namespace which is bad.
However there is the issue with the block for lambda:
Also there should be one model for one generic view, so I don't have to include the whole Rango::GV if I want to customize something.