Methods

Class/Module Index [+]

Quicksearch

Mercenary

Constants

VERSION

Public Class Methods

program(name) click to toggle source

Public: Instantiate a new program and execute.

name - the name of your program

Returns nothing.

# File lib/mercenary.rb, line 19
def self.program(name)
  program = Program.new(name)
  yield program
  program.go(ARGV)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.