Class: TestLineText2::Basic
- Inherits:
-
Object
- Object
- TestLineText2::Basic
- Includes:
- EM::Protocols::LineText2
- Defined in:
- lib/ext/eventmachine-0.12.10/tests/test_ltp2.rb
Overview
Run each of these tests two ways: passing in the whole test-dataset in one chunk, and passing it in one character at a time.
Instance Attribute Summary collapse
-
#lines ⇒ Object
readonly
Returns the value of attribute lines.
Instance Method Summary collapse
Instance Attribute Details
#lines ⇒ Object (readonly)
Returns the value of attribute lines.
41 42 43 |
# File 'lib/ext/eventmachine-0.12.10/tests/test_ltp2.rb', line 41 def lines @lines end |
Instance Method Details
#receive_line(line) ⇒ Object
42 43 44 |
# File 'lib/ext/eventmachine-0.12.10/tests/test_ltp2.rb', line 42 def receive_line line (@lines ||= []) << line end |