Class: Playground::Cli
- Inherits:
-
Thor
- Object
- Thor
- Playground::Cli
- Defined in:
- lib/playground/cli.rb
Instance Method Summary collapse
Instance Method Details
#generate(input, output) ⇒ Object
7 8 9 |
# File 'lib/playground/cli.rb', line 7 def generate(input, output) Generator.new.generate(input, output) end |
#new(path = nil) ⇒ Object
13 14 15 16 |
# File 'lib/playground/cli.rb', line 13 def new(path=nil) platform = [:ios] ? "iphonesimulator" : "macosx" Generator.new.generate_empty(path, platform) end |