Class: Prickle::Exceptions::Message::TextNotContainedInPopup
- Inherits:
-
Object
- Object
- Prickle::Exceptions::Message::TextNotContainedInPopup
- Includes:
- Prickle::Exceptions::Message
- Defined in:
- lib/prickle/exceptions/messages.rb
Instance Method Summary collapse
-
#initialize(message) ⇒ TextNotContainedInPopup
constructor
A new instance of TextNotContainedInPopup.
- #to_s ⇒ Object
Constructor Details
#initialize(message) ⇒ TextNotContainedInPopup
Returns a new instance of TextNotContainedInPopup.
43 44 45 |
# File 'lib/prickle/exceptions/messages.rb', line 43 def initialize @message = end |
Instance Method Details
#to_s ⇒ Object
47 48 49 |
# File 'lib/prickle/exceptions/messages.rb', line 47 def to_s "Text #{highlight(@message)} is not contained in the popup." end |