Method: ROM::Setup#register_command
- Defined in:
- lib/rom/setup.rb
#register_command(*klasses) ⇒ 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.
Command sub-classes are being registered with this method during setup
72 73 74 |
# File 'lib/rom/setup.rb', line 72 def register_command(*klasses) klasses.reduce(@command_classes, :<<) end |