Exception: Faker::Shorthand::MatcherMethodError

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

Instance Method Summary collapse

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