Sha256: 066e11b7611c5a3fc79187ac08220263078b124e6445ec75e7a057398bc878ce

Contents?: true

Size: 285 Bytes

Versions: 36

Compression:

Stored size: 285 Bytes

Contents

module HammerCLI
  module Options
    class OptionProcessor
      def initialize(name: nil)
        @name = name
      end

      def name
        @name || self.class.name.split('::')[-1]
      end

      def process(defined_options, result)
        result
      end
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
hammer_cli-3.13.0 lib/hammer_cli/options/option_processor.rb
hammer_cli-3.12.0 lib/hammer_cli/options/option_processor.rb
hammer_cli-3.10.0 lib/hammer_cli/options/option_processor.rb
hammer_cli-3.9.0 lib/hammer_cli/options/option_processor.rb
hammer_cli-3.8.0 lib/hammer_cli/options/option_processor.rb
hammer_cli-3.7.0 lib/hammer_cli/options/option_processor.rb
hammer_cli-3.5.1 lib/hammer_cli/options/option_processor.rb
hammer_cli-3.6.0 lib/hammer_cli/options/option_processor.rb
hammer_cli-3.5.0 lib/hammer_cli/options/option_processor.rb
hammer_cli-3.4.0 lib/hammer_cli/options/option_processor.rb
hammer_cli-3.3.0 lib/hammer_cli/options/option_processor.rb
hammer_cli-3.2.0 lib/hammer_cli/options/option_processor.rb
hammer_cli-3.1.1 lib/hammer_cli/options/option_processor.rb
hammer_cli-3.0.2 lib/hammer_cli/options/option_processor.rb
hammer_cli-3.1.0 lib/hammer_cli/options/option_processor.rb
hammer_cli-3.0.1 lib/hammer_cli/options/option_processor.rb
hammer_cli-3.0.0 lib/hammer_cli/options/option_processor.rb
hammer_cli-2.5.1 lib/hammer_cli/options/option_processor.rb
hammer_cli-2.5.0 lib/hammer_cli/options/option_processor.rb
hammer_cli-2.3.1 lib/hammer_cli/options/option_processor.rb