Sha256: 1eaea38a3b8b2215602ff44730d20847f3a81d6c1bc81fc885856ec2b04dc603
Contents?: true
Size: 454 Bytes
Versions: 16
Compression:
Stored size: 454 Bytes
Contents
require "hiroshimarb/version" module Hiroshimarb autoload(:Command, "hiroshimarb/command") autoload(:Commands, "hiroshimarb/commands") class << self def execute(argv) Commands.load_commands return help if argv.count == 0 first = argv.shift if command = Command.find(first) command.call *argv else help end end def help(*argv) Commands::Help.new.call *argv end end end
Version data entries
16 entries across 16 versions & 1 rubygems