Module: IO::Tail::LineExtension
- Defined in:
- lib/io/tail/line_extension.rb
Overview
This module is used to extend all lines received via one of the tailers of a File::Tail::Group.
Instance Attribute Summary collapse
-
#tailer ⇒ Object
readonly
This is the tailer this line was received from.
Instance Method Summary collapse
-
#file ⇒ Object
The file as a File instance this line was read from.
Instance Attribute Details
#tailer ⇒ Object (readonly)
This is the tailer this line was received from.
12 13 14 |
# File 'lib/io/tail/line_extension.rb', line 12 def tailer @tailer end |
Instance Method Details
#file ⇒ Object
The file as a File instance this line was read from.
7 8 9 |
# File 'lib/io/tail/line_extension.rb', line 7 def file tailer.file end |