Class: Stable::Commands::New
- Inherits:
-
Object
- Object
- Stable::Commands::New
- Defined in:
- lib/stable/commands/new.rb
Overview
New command - creates a new Rails application
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(name, options) ⇒ New
constructor
A new instance of New.
Constructor Details
#initialize(name, options) ⇒ New
Returns a new instance of New.
7 8 9 10 |
# File 'lib/stable/commands/new.rb', line 7 def initialize(name, ) @name = name = end |
Instance Method Details
#call ⇒ Object
12 13 14 |
# File 'lib/stable/commands/new.rb', line 12 def call Services::AppCreator.new(@name, ).call end |