Class: Mongoid::Command::SetupCommand
- Inherits:
-
Rails::Command::Base
- Object
- Rails::Command::Base
- Mongoid::Command::SetupCommand
- Defined in:
- lib/railsmdb/commands/setup/setup_command.rb
Overview
The implementation of the ‘setup` command for Railsmdb.
Instance Method Summary collapse
Instance Method Details
#perform(*args) ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/railsmdb/commands/setup/setup_command.rb', line 11 def perform(*args) # remove the first argument, which will be `setup`, and pass # the rest through to the generator args.shift Railsmdb::Generators::SetupGenerator.start(args) end |