Class: MemDB::Index::Any::Bucket
- Inherits:
-
Object
- Object
- MemDB::Index::Any::Bucket
- Includes:
- Bucket
- Defined in:
- lib/mem_db/index/any.rb
Instance Method Summary collapse
- #bucket=(bucket) ⇒ Object
-
#initialize(original) ⇒ Bucket
constructor
A new instance of Bucket.
- #new ⇒ Object
Methods included from Bucket
Constructor Details
#initialize(original) ⇒ Bucket
Returns a new instance of Bucket.
16 17 18 |
# File 'lib/mem_db/index/any.rb', line 16 def initialize(original) @original = original end |
Instance Method Details
#bucket=(bucket) ⇒ Object
24 25 26 |
# File 'lib/mem_db/index/any.rb', line 24 def bucket=(bucket) @original.bucket = bucket end |
#new ⇒ Object
20 21 22 |
# File 'lib/mem_db/index/any.rb', line 20 def new MemDB::Index::Any.new(@original.new) end |