Class: HammerCLI::Options::Sources::Base

Inherits:
OptionProcessor show all
Defined in:
lib/hammer_cli/options/sources/base.rb

Direct Known Subclasses

CommandLine, SavedDefaults

Instance Method Summary collapse

Methods inherited from OptionProcessor

#initialize, #name

Constructor Details

This class inherits a constructor from HammerCLI::Options::OptionProcessor

Instance Method Details

#get_options(defined_options, result) ⇒ Object



11
12
13
# File 'lib/hammer_cli/options/sources/base.rb', line 11

def get_options(defined_options, result)
  result
end

#process(defined_options, result) ⇒ Object



7
8
9
# File 'lib/hammer_cli/options/sources/base.rb', line 7

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