Exception: Markable::WrongMarkableType
- Inherits:
-
Exception
- Object
- Exception
- Markable::WrongMarkableType
- Defined in:
- lib/markable/exceptions.rb
Instance Method Summary collapse
-
#initialize(markable_name) ⇒ WrongMarkableType
constructor
A new instance of WrongMarkableType.
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 |