Exception: Faker::Shorthand::MatcherArgumentError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/faker/shorthand.rb

Instance Method Summary collapse

Constructor Details

#initialize(module_name, method_name, e) ⇒ MatcherArgumentError

Returns a new instance of MatcherArgumentError.



21
22
23
# File 'lib/faker/shorthand.rb', line 21

def initialize(module_name, method_name, e)
  super "Faker::#{module_name}.#{method_name}: #{e}"
end