Module: Hashira::CLI::Choice

Defined in:
lib/hashira/cli/choice.rb

Class Method Summary collapse

Class Method Details

.unknown(flag, value, choices) ⇒ Object



6
7
8
# File 'lib/hashira/cli/choice.rb', line 6

def unknown(flag, value, choices)
  Hashira::Error.new("unknown #{flag} #{value.inspect} (use: #{choices.join(", ")})")
end