Exception: Faker::Shorthand::MatcherModuleError

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

Instance Method Summary collapse

Constructor Details

#initialize(module_name) ⇒ MatcherModuleError

Returns a new instance of MatcherModuleError.



9
10
11
# File 'lib/faker/shorthand.rb', line 9

def initialize(module_name)
  super "No Faker module matches Faker::#{module_name}"
end