module Mercenary
Constants
- VERSION
Public Class Methods
program(name) { |program| ... }
click to toggle source
Public: Instantiate a new program and execute.
name - the name of your program
Returns nothing.
# File lib/mercenary.rb, line 18 def self.program(name) program = Program.new(name) yield program program.go(ARGV) end