Class: Fluent::Plugin::TailInput::TargetInfo
- Inherits:
-
Struct
- Object
- Struct
- Fluent::Plugin::TailInput::TargetInfo
- Defined in:
- lib/fluent/plugin/in_tail/position_file.rb
Instance Attribute Summary collapse
-
#ino ⇒ Object
Returns the value of attribute ino.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
Instance Attribute Details
#ino ⇒ Object
Returns the value of attribute ino
253 254 255 |
# File 'lib/fluent/plugin/in_tail/position_file.rb', line 253 def ino @ino end |
#path ⇒ Object
Returns the value of attribute path
253 254 255 |
# File 'lib/fluent/plugin/in_tail/position_file.rb', line 253 def path @path end |
Instance Method Details
#==(other) ⇒ Object
254 255 256 257 |
# File 'lib/fluent/plugin/in_tail/position_file.rb', line 254 def ==(other) return false unless other.is_a?(TargetInfo) self.path == other.path end |
#eql?(other) ⇒ Boolean
263 264 265 266 |
# File 'lib/fluent/plugin/in_tail/position_file.rb', line 263 def eql?(other) return false unless other.is_a?(TargetInfo) self.path == other.path end |
#hash ⇒ Object
259 260 261 |
# File 'lib/fluent/plugin/in_tail/position_file.rb', line 259 def hash self.path.hash end |