Class: CephStorage::StorageObject::Xattr
- Inherits:
-
CephRuby::Xattr
- Object
- CephRuby::Xattr
- CephStorage::StorageObject::Xattr
- Extended by:
- RadosWrapper
- Defined in:
- lib/ceph_storage/storage_object/xattr.rb
Overview
Wrapper for RadosObjectEnumerator
Instance Attribute Summary collapse
-
#object ⇒ Object
Returns the value of attribute object.
-
#pool_factory ⇒ Object
Returns the value of attribute pool_factory.
Instance Method Summary collapse
-
#initialize(object, name) ⇒ Xattr
constructor
A new instance of Xattr.
Methods included from RadosWrapper
Constructor Details
#initialize(object, name) ⇒ Xattr
Returns a new instance of Xattr.
10 11 12 13 14 15 |
# File 'lib/ceph_storage/storage_object/xattr.rb', line 10 def initialize(object, name) self.pool_factory = object.pool_factory self.object = object self.name = name super(object, name) end |
Instance Attribute Details
#object ⇒ Object
Returns the value of attribute object.
6 7 8 |
# File 'lib/ceph_storage/storage_object/xattr.rb', line 6 def object @object end |
#pool_factory ⇒ Object
Returns the value of attribute pool_factory.
6 7 8 |
# File 'lib/ceph_storage/storage_object/xattr.rb', line 6 def pool_factory @pool_factory end |