class PersistentTree::MapEnumeratorDecorator

Public Instance Methods

enumerator(subject) click to toggle source
# File lib/persistent_tree/map.rb, line 5
def enumerator(subject)
  @subject = subject
end
method_missing(method_name, *args, &block) click to toggle source
Calls superclass method
# File lib/persistent_tree/map.rb, line 13
def method_missing(method_name, *args, &block)
  if @subject.respond_to? method_name
    @subject.send method_name, *args, &block
  else
    super
  end
end
respond_to_missing?(method_name, *args) click to toggle source
Calls superclass method
# File lib/persistent_tree/map.rb, line 9
def respond_to_missing?(method_name, *args)
  @subject.respond_to?(method_name) || super
end