Method: ActiveScaffold::Configurable#method_missing
- Defined in:
- lib/active_scaffold/configurable.rb
#method_missing(name, *args) ⇒ Object
this method will surely need tweaking. for example, i’m not sure if it should call super before or after it tries to eval with the binding.
17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/active_scaffold/configurable.rb', line 17 def method_missing(name, *args) begin super rescue NoMethodError, NameError if @configuration_binding.nil? raise $! else eval("self", @configuration_binding).send(name, *args) end end end |