Sha256: 46823b155d107f139972466c301a6674a35fae17acfed59dc282213c051fadbe

Contents?: true

Size: 275 Bytes

Versions: 6

Compression:

Stored size: 275 Bytes

Contents

module Hanzo
  class Base
    # Accessors
    attr_accessor :options

    def initialize(args)
      @args = args
      @options = OptionParser.new

      initialize_variables
      initialize_cli
    end

    def extract_argument(index)
      @args[index]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hanzo-1.1.0 lib/hanzo/base.rb
hanzo-1.0.2 lib/hanzo/base.rb
hanzo-1.0.1 lib/hanzo/base.rb
hanzo-1.0.0 lib/hanzo/base.rb
hanzo-0.6.2 lib/hanzo/base.rb
hanzo-0.6.1 lib/hanzo/base.rb