Method: AppCommand#initialize

Defined in:
lib/scaffolding/commands/app.rb

#initialize(*args) ⇒ AppCommand

Returns a new instance of AppCommand.



4
5
6
7
8
9
# File 'lib/scaffolding/commands/app.rb', line 4

def initialize(*args)
  raise "'name' parameter must be specified" if args.length < 1
  @name = args[0]
  @dir  = Dir.pwd
  @path = File.join(@dir, @name)
end