Method: ROM::Command::ClassInterface.extended
- Defined in:
- lib/rom/commands/class_interface.rb
.extended(klass) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Sets up the base class
22 23 24 25 26 |
# File 'lib/rom/commands/class_interface.rb', line 22 def self.extended(klass) super klass.set_hooks(:before, []) klass.set_hooks(:after, []) end |