Exception: Hashira::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Hashira::Error
- Defined in:
- lib/hashira/error.rb
Class Method Summary collapse
Class Method Details
.unknown(flag, value, choices) ⇒ Object
4 5 6 |
# File 'lib/hashira/error.rb', line 4 def self.unknown(flag, value, choices) new("unknown #{flag} #{value.inspect} (use: #{choices.join(", ")})") end |