module Hookers
Constants
- VERSION
Public Class Methods
commands()
click to toggle source
# File lib/hookers/command.rb, line 4 def self.commands @@commands ||= {} end
run!(command, options = {})
click to toggle source
# File lib/hookers.rb, line 17 def self.run!(command, options = {}) commands.fetch(command, Hookers::Commands::Help).new(command, options).run end
Public Instance Methods
root()
click to toggle source
# File lib/hookers.rb, line 13 def root File.expand_path '../..', __FILE__ end