Exception: Markable::WrongMarkableType

Inherits:
Exception
  • Object
show all
Defined in:
lib/markable/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(markable_name) ⇒ WrongMarkableType

Returns a new instance of WrongMarkableType.



3
4
5
# File 'lib/markable/exceptions.rb', line 3

def initialize(markable_name)
  super "Wrong markable type: ['#{Markable.markables.join("', '")}'] expected, '#{markable_name}' provided."
end