Class: MemDB::Index::PatternMatch::Bucket

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

Instance Method Summary collapse

Methods included from Bucket

#accept_any, #bucket=

Constructor Details

#initialize(idx:, bucket: MemDB::Bucket) ⇒ Bucket

Returns a new instance of Bucket.



18
19
20
21
# File 'lib/mem_db/index/pattern_match.rb', line 18

def initialize(idx:, bucket: MemDB::Bucket)
  @idx = idx
  @bucket = bucket
end

Instance Method Details

#newObject



23
24
25
# File 'lib/mem_db/index/pattern_match.rb', line 23

def new
  MemDB::Index::PatternMatch.new(idx: @idx, bucket: @bucket)
end