Sha256: c137012e1ba5ee96f9c7ed6ea8f17bee8955cb041ad91bdea6524b80734d8b0d

Contents?: true

Size: 433 Bytes

Versions: 2

Compression:

Stored size: 433 Bytes

Contents

# frozen_string_literal: true

module Hbtrack
  class Command
    def initialize(hbt, options)
      @hbt = hbt
      @all = false
      @option_parser = create_option_parser

      unprocess_option = @option_parser.parse(options)
      @names = unprocess_option
    end

    def execute
      help
    end

    def create_option_parser
      raise 'Not Implemented'
    end

    def help
      @option_parser.help
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hbtrack-0.0.7 lib/hbtrack/command.rb
hbtrack-0.0.6 lib/hbtrack/command.rb