Exception: Room::RoomException
- Defined in:
- lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/advanced/minimuc.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
Instance Method Summary collapse
-
#initialize(error, msg) ⇒ RoomException
constructor
A new instance of RoomException.
Constructor Details
#initialize(error, msg) ⇒ RoomException
Returns a new instance of RoomException.
16 17 18 |
# File 'lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/advanced/minimuc.rb', line 16 def initialize(error, msg) @error = Jabber::ErrorResponse.new(error, msg) end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
15 16 17 |
# File 'lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/advanced/minimuc.rb', line 15 def error @error end |