Exception: Snp::InvalidOptions
- Inherits:
-
StandardError
- Object
- StandardError
- Snp::InvalidOptions
- Defined in:
- lib/snp/cli.rb
Overview
Snp::InvalidOptions
This exception is raised when there is an error parsing command line options passed to ‘snp`.
Instance Method Summary collapse
-
#initialize(invalid_option) ⇒ InvalidOptions
constructor
A new instance of InvalidOptions.
Constructor Details
#initialize(invalid_option) ⇒ InvalidOptions
Returns a new instance of InvalidOptions.
36 37 38 |
# File 'lib/snp/cli.rb', line 36 def initialize(invalid_option) super("Invalid option: #{invalid_option}") end |