Class: Stable::Commands::New

Inherits:
Object
  • Object
show all
Defined in:
lib/stable/commands/new.rb

Overview

New command - creates a new Rails application

Instance Method Summary collapse

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, options)
  @name = name
  @options = options
end

Instance Method Details

#callObject



12
13
14
# File 'lib/stable/commands/new.rb', line 12

def call
  Services::AppCreator.new(@name, @options).call
end