Sha256: b964192047da632a3deb8dd93263de62584f03d0ff77cb997a1eed672d23b111

Contents?: true

Size: 420 Bytes

Versions: 2

Compression:

Stored size: 420 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
      else
        help
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hiroshimarb-0.0.4 lib/hiroshimarb.rb
hiroshimarb-0.0.3 lib/hiroshimarb.rb