Class: Gurk::Runner

Inherits:
Thor
  • Object
show all
Defined in:
lib/gurk/runner.rb

Instance Method Summary collapse

Instance Method Details

#new(name) ⇒ Object



12
13
14
15
# File 'lib/gurk/runner.rb', line 12

def new(name)
  Gurk::Cli.new([name]).setup
  say "New Gurk app generated. Now start Gurkin!"
end

#versionObject



18
19
20
21
# File 'lib/gurk/runner.rb', line 18

def version
  require 'thor/version'
  say "Gurk #{Gurk::VERSION}"
end