Class: Store::Digest::Object::IOWrapper
- Inherits:
-
Object
- Object
- Store::Digest::Object::IOWrapper
- Extended by:
- Forwardable
- Defined in:
- lib/store/digest/object.rb
Overview
Proxy IO instance that has a backreference to the store object.
Instance Attribute Summary collapse
-
#object ⇒ Object
readonly
Returns the value of attribute object.
Instance Method Summary collapse
-
#initialize(object, io) ⇒ IOWrapper
constructor
A new instance of IOWrapper.
Constructor Details
#initialize(object, io) ⇒ IOWrapper
Returns a new instance of IOWrapper.
80 81 82 83 |
# File 'lib/store/digest/object.rb', line 80 def initialize object, io @object = object @io = io end |
Instance Attribute Details
#object ⇒ Object (readonly)
Returns the value of attribute object.
85 86 87 |
# File 'lib/store/digest/object.rb', line 85 def object @object end |