Class: MemDB::Index::SequenceMatch::Bucket

Inherits:
Object
  • Object
show all
Includes:
Bucket
Defined in:
lib/mem_db/index/sequence_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.



15
16
17
18
# File 'lib/mem_db/index/sequence_match.rb', line 15

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

Instance Method Details

#newObject



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

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