Module: Mercenary

### Home Classes Methods

### In Files

- lib/mercenary.rb
- lib/mercenary/command.rb
- lib/mercenary/option.rb
- lib/mercenary/presenter.rb
- lib/mercenary/program.rb
- lib/mercenary/version.rb

### Namespace

- CLASS Mercenary::Command
- CLASS Mercenary::Option
- CLASS Mercenary::Presenter
- CLASS Mercenary::Program

### Methods

- ::program

### Class/Module Index

Quicksearch

- Mercenary
- Mercenary::Command
- Mercenary::Option
- Mercenary::Presenter
- Mercenary::Program

No matching classes.

# 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 16
    def self.program(name)
      program = Program.new(name)
      yield program
      program.go(ARGV)
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.