Module: MemDB::Index::Bucket

Included in:
Any::Bucket, Enum::Bucket, PatternMatch::Bucket, PrefixTree::Bucket, SequenceMatch::Bucket
Defined in:
lib/mem_db/index/bucket.rb

Instance Method Summary collapse

Instance Method Details

#accept_anyObject



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

def accept_any
  MemDB::Index::Any::Bucket.new(self)
end

#bucket=(bucket) ⇒ Object



11
12
13
# File 'lib/mem_db/index/bucket.rb', line 11

def bucket=(bucket)
  @bucket = bucket
end

#newObject

Raises:

  • (NotImplementedError)


7
8
9
# File 'lib/mem_db/index/bucket.rb', line 7

def new
  raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'"
end