W3cubDocs

/Ruby 2.7

class UnknownArgumentError

Parent:
Error

Attributes

switches[R]
unknown[R]

Public Class Methods

new(switches, unknown) Show source
# File lib/bundler/vendor/thor/lib/thor/error.rb, line 88
def initialize(switches, unknown)
  @switches = switches
  @unknown = unknown

  super("Unknown switches #{unknown.map(&:inspect).join(', ')}")
end
Calls superclass method Exception::new

Ruby Core © 1993–2017 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.