class Canoe::Builder

Public Class Methods

new() click to toggle source
# File lib/canoe.rb, line 7
def initialize
  options = ['new',
             'add',
             'build',
             'generate',
             'make',
             'run',
             'dep',
             'clean',
             'version',
             'help',
             'update',
             'test']
  @cmd = CmdParser.new options
end

Public Instance Methods

parse(args) click to toggle source
# File lib/canoe.rb, line 23
def parse(args)
  @cmd.parse args
end