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