Exception: Homebrew::CLI::MinNamedArgumentsError

Inherits:
UsageError
  • Object
show all
Defined in:
Library/Homebrew/cli/parser.rb

Instance Attribute Summary

Attributes inherited from UsageError

#reason

Instance Method Summary collapse

Methods inherited from UsageError

#to_s

Constructor Details

#initialize(minimum) ⇒ MinNamedArgumentsError

Returns a new instance of MinNamedArgumentsError.


549
550
551
# File 'Library/Homebrew/cli/parser.rb', line 549

def initialize(minimum)
  super "This command requires at least #{minimum} named #{"argument".pluralize(minimum)}."
end