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