Exception: Faker::Shorthand::MatcherMethodError
- Inherits:
-
NoMethodError
- Object
- NoMethodError
- Faker::Shorthand::MatcherMethodError
- Defined in:
- lib/faker/shorthand.rb
Instance Method Summary collapse
-
#initialize(module_name, method_name) ⇒ MatcherMethodError
constructor
A new instance of MatcherMethodError.
Constructor Details
#initialize(module_name, method_name) ⇒ MatcherMethodError
Returns a new instance of MatcherMethodError.
15 16 17 |
# File 'lib/faker/shorthand.rb', line 15 def initialize(module_name, method_name) super "No generator method matches Faker::#{module_name}.#{method_name}" end |