Exception: CheckerJobs::UnsupportedConfigurationOption
- Defined in:
- lib/checker_jobs/errors.rb
Instance Method Summary collapse
-
#initialize(option_name, value) ⇒ UnsupportedConfigurationOption
constructor
A new instance of UnsupportedConfigurationOption.
- #message ⇒ Object
Constructor Details
#initialize(option_name, value) ⇒ UnsupportedConfigurationOption
Returns a new instance of UnsupportedConfigurationOption.
18 19 20 21 22 |
# File 'lib/checker_jobs/errors.rb', line 18 def initialize(option_name, value) @option_name = option_name @value = value super() end |
Instance Method Details
#message ⇒ Object
24 25 26 27 |
# File 'lib/checker_jobs/errors.rb', line 24 def "CheckerJobs: unsupported configuration option: '#{@value.inspect}' " \ "isn't valid for '#{@option_name}' option." end |