Class: Transducers::Reduced Private
- Inherits:
-
Object
- Object
- Transducers::Reduced
- 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
- #val ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(val) ⇒ Reduced
constructor
private
A new instance of Reduced.
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
#val ⇒ Object (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 |