Exception: Faker::Shorthand::MatcherArgumentError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Faker::Shorthand::MatcherArgumentError
- Defined in:
- lib/faker/shorthand.rb
Instance Method Summary collapse
-
#initialize(module_name, method_name, e) ⇒ MatcherArgumentError
constructor
A new instance of MatcherArgumentError.
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 |