Module: Uttk::Filters::Buffer::Assertions
- Defined in:
- lib/uttk/filters/Buffer.rb
Instance Attribute Summary collapse
-
#buffer ⇒ Object
Returns the value of attribute buffer.
Instance Method Summary collapse
Instance Attribute Details
#buffer ⇒ Object
Returns the value of attribute buffer.
103 104 105 |
# File 'lib/uttk/filters/Buffer.rb', line 103 def buffer @buffer end |
Instance Method Details
#assert_buffer(ref) ⇒ Object
105 106 107 |
# File 'lib/uttk/filters/Buffer.rb', line 105 def assert_buffer ( ref ) assert_equal(ref, @buffer.buffer) end |
#assert_not_buffer(ref) ⇒ Object
109 110 111 |
# File 'lib/uttk/filters/Buffer.rb', line 109 def assert_not_buffer ( ref ) assert_not_equal(ref, @buffer.buffer) end |