Parent

Files

POM::Command

POM’s command-line interface.

Constants

COMMAND_HELP

Public Class Methods

new() click to toggle source
# File lib/pom/command.rb, line 24
def initialize
  $TRIAL = nil
  $FORCE = nil
end
require_commands() click to toggle source
# File lib/pom/command.rb, line 18
def self.require_commands
  cmds = Dir.glob(File.join(File.dirname(__FILE__), 'commands', '*.rb'))
  cmds.each{ |lib| require lib }
end
run() click to toggle source
# File lib/pom/command.rb, line 12
def self.run
  require_commands
  new.run
end

Public Instance Methods

run() click to toggle source
# File lib/pom/command.rb, line 30
def run
  begin
    run_command
  rescue => err
    raise err if $DEBUG
    $stderr.puts err.message
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.