Class: KyotoCabinet::NOPVisitor

Inherits:
Object
  • Object
show all
Defined in:
lib/kyotocabinet.rb

Instance Method Summary collapse

Constructor Details

#initialize(base) ⇒ NOPVisitor

Returns a new instance of NOPVisitor.



149
150
151
# File 'lib/kyotocabinet.rb', line 149

def initialize(base)
  @base = base
end

Instance Method Details

#visit_empty(key) ⇒ Object



153
154
155
156
# File 'lib/kyotocabinet.rb', line 153

def visit_empty(key)
  @base.visit_empty(key)
  Visitor::NOP
end

#visit_full(key, value) ⇒ Object



158
159
160
161
# File 'lib/kyotocabinet.rb', line 158

def visit_full(key, value)
  @base.visit_full(key, value)
  Visitor::NOP
end