Method: ActiveScaffold::Configurable#configure
- Defined in:
- lib/active_scaffold/configurable.rb
#configure(&configuration_block) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/active_scaffold/configurable.rb', line 8 def configure(&configuration_block) return unless configuration_block @configuration_binding = configuration_block.binding ret = instance_exec self, &configuration_block @configuration_binding = nil return ret end |