Class: MrHyde::Commands::New
- Inherits:
-
MrHyde::Command
- Object
- MrHyde::Command
- MrHyde::Commands::New
- Defined in:
- lib/mr_hyde/commands/new.rb
Class Method Summary collapse
Methods inherited from MrHyde::Command
configuration, configuration_from_options
Class Method Details
.process(args, opts = {}) ⇒ Object
16 17 18 19 20 21 |
# File 'lib/mr_hyde/commands/new.rb', line 16 def process(args, opts = {}) case args.delete(:type) when :site then new_site(args[:args], opts) else scaffold(args, opts) end end |