Class: InThreads::Splitter::Transfer::Item
- Inherits:
-
Object
- Object
- InThreads::Splitter::Transfer::Item
- Defined in:
- lib/in_threads.rb
Overview
Holds one object, for distinguishing eof
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ Item
constructor
A new instance of Item.
Constructor Details
#initialize(value) ⇒ Item
Returns a new instance of Item.
81 82 83 |
# File 'lib/in_threads.rb', line 81 def initialize(value) @value = value end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
79 80 81 |
# File 'lib/in_threads.rb', line 79 def value @value end |