Exception: Snp::InvalidOptions

Inherits:
StandardError
  • Object
show all
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

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