Class: Lookout::Output
Instance Attribute Summary collapse
-
#expected ⇒ Object
readonly
Returns the value of attribute expected.
Instance Method Summary collapse
- #actual ⇒ Object
-
#initialize(expected) ⇒ Output
constructor
A new instance of Output.
- #inspect ⇒ Object
Constructor Details
permalink #initialize(expected) ⇒ Output
Returns a new instance of Output.
6 7 8 9 |
# File 'lib/lookout/output.rb', line 6 def initialize(expected) @expected = expected super() end |
Instance Attribute Details
Instance Method Details
permalink #actual ⇒ Object
[View source]
13 14 15 16 |
# File 'lib/lookout/output.rb', line 13 def actual rewind @actual ||= read end |
permalink #inspect ⇒ Object
[View source]
18 19 20 |
# File 'lib/lookout/output.rb', line 18 def inspect 'output(%p)' % expected end |