Exception: Prickle::Exceptions::MessageNotContainedInPopup

Inherits:
Exception
  • Object
show all
Includes:
Prickle::Exceptions
Defined in:
lib/prickle/exceptions.rb

Instance Method Summary collapse

Methods included from Prickle::Exceptions

#message

Constructor Details

#initialize(message) ⇒ MessageNotContainedInPopup

Returns a new instance of MessageNotContainedInPopup.



21
22
23
# File 'lib/prickle/exceptions.rb', line 21

def initialize message
  @message = Message::TextNotContainedInPopup.new(message).to_s
end