Class: MemDB::Index::Any::Bucket

Inherits:
Object
  • Object
show all
Includes:
Bucket
Defined in:
lib/mem_db/index/any.rb

Instance Method Summary collapse

Methods included from Bucket

#accept_any

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

#newObject



20
21
22
# File 'lib/mem_db/index/any.rb', line 20

def new
  MemDB::Index::Any.new(@original.new)
end