Exception: MundoPepino::NotMapped

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/mundo_pepino/base.rb

Instance Method Summary collapse

Constructor Details

#initialize(type, string) ⇒ NotMapped

Returns a new instance of NotMapped.



31
32
33
34
# File 'lib/mundo_pepino/base.rb', line 31

def initialize(type, string)
  @type = type
  @string = string
end

Instance Method Details

#messageObject



35
36
37
# File 'lib/mundo_pepino/base.rb', line 35

def message
  "#{@type} not mapped '#{@string}'"
end