Class: MockListener
- Defined in:
- lib/gems/xmpp4r-0.4/test/tc_streamparser.rb
Instance Attribute Summary collapse
-
#received ⇒ Object
readonly
Returns the value of attribute received.
Instance Method Summary collapse
Instance Attribute Details
#received ⇒ Object (readonly)
Returns the value of attribute received.
13 14 15 |
# File 'lib/gems/xmpp4r-0.4/test/tc_streamparser.rb', line 13 def received @received end |
Instance Method Details
#parse_failure(exception) ⇒ Object
19 20 21 |
# File 'lib/gems/xmpp4r-0.4/test/tc_streamparser.rb', line 19 def parse_failure(exception) raise exception end |
#receive(element) ⇒ Object
15 16 17 |
# File 'lib/gems/xmpp4r-0.4/test/tc_streamparser.rb', line 15 def receive(element) @received = element end |