Class: InThreads::Splitter::Transfer::Item

Inherits:
Object
  • Object
show all
Defined in:
lib/in_threads.rb

Overview

Holds one object, for distinguishing eof

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#valueObject (readonly)

Returns the value of attribute value.



79
80
81
# File 'lib/in_threads.rb', line 79

def value
  @value
end