module Rethinker::Selection::Scope

Public Instance Methods

method_missing(name, *args, &block) click to toggle source

TODO Make something a bit more efficent

Calls superclass method
# File lib/rethinker/selection/scope.rb, line 7
def method_missing(name, *args, &block)
  return super unless klass.respond_to?(name)
  klass.method(name).call(*args, &block)
end
respond_to?(name, include_private = false) click to toggle source
Calls superclass method
# File lib/rethinker/selection/scope.rb, line 2
def respond_to?(name, include_private = false)
  super || klass.respond_to?(name)
end