Class: Transducers::Reduced Private

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

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(val) ⇒ Reduced

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Reduced.



157
158
159
# File 'lib/transducers.rb', line 157

def initialize(val)
  @val = val
end

Instance Attribute Details

#valObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



155
156
157
# File 'lib/transducers.rb', line 155

def val
  @val
end