Class: LevelDB::Iterator
Instance Attribute Summary collapse
-
#db ⇒ Object
readonly
Returns the value of attribute db.
-
#from ⇒ Object
readonly
Returns the value of attribute from.
-
#to ⇒ Object
readonly
Returns the value of attribute to.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#db ⇒ Object (readonly)
Returns the value of attribute db.
70 71 72 |
# File 'lib/leveldb.rb', line 70 def db @db end |
#from ⇒ Object (readonly)
Returns the value of attribute from.
70 71 72 |
# File 'lib/leveldb.rb', line 70 def from @from end |
#to ⇒ Object (readonly)
Returns the value of attribute to.
70 71 72 |
# File 'lib/leveldb.rb', line 70 def to @to end |
Class Method Details
.new(db, opts = {}) ⇒ Object
72 73 74 |
# File 'lib/leveldb.rb', line 72 def self.new(db, opts={}) make db, opts end |
Instance Method Details
#inspect ⇒ Object
77 78 79 |
# File 'lib/leveldb.rb', line 77 def inspect %(<#{self.class} #{@db.inspect} @from=#{@from.inspect} @to=#{@to.inspect}#{' (reversed)' if @reversed}>) end |
#reversed? ⇒ Boolean
76 |
# File 'lib/leveldb.rb', line 76 def reversed?; @reversed end |