Sha256: 9e41d746e2c19e71fd76bbaaf8dc8f162418f36e378e6d3b175e6f3c91fc478b

Contents?: true

Size: 453 Bytes

Versions: 2

Compression:

Stored size: 453 Bytes

Contents

require "hiroshimarb/version"
require 'hiroshimarb/cli'

module Hiroshimarb
  extend CLI

  autoload(:Information, "hiroshimarb/information")

  class << self
    def execute(argv)
      return help if argv.count == 0

      command = argv.shift
      case command
      when 'open'
        open *argv
      when 'info'
        info
      when 'member'
        member
      when 'event'
        event
      else
        help
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hiroshimarb-0.1.1 lib/hiroshimarb.rb
hiroshimarb-0.1.0 lib/hiroshimarb.rb