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