class ActiveGraph::Node::Scope::ScopeEvalContext
Public Class Methods
new(target, query_proxy)
click to toggle source
# File lib/active_graph/node/scope.rb 102 def initialize(target, query_proxy) 103 @query_proxy = query_proxy 104 @target = target 105 end
Public Instance Methods
identity()
click to toggle source
# File lib/active_graph/node/scope.rb 107 def identity 108 query_proxy_or_target.identity 109 end
method_missing(name, *params, &block)
click to toggle source
method_missing
is not delegated to super class but to aggregated class rubocop:disable Style/MethodMissingSuper
# File lib/active_graph/node/scope.rb 121 def method_missing(name, *params, &block) 122 query_proxy_or_target.public_send(name, *params, &block) 123 end
Private Instance Methods
query_proxy_or_target()
click to toggle source
rubocop:enable Style/MethodMissingSuper
# File lib/active_graph/node/scope.rb 128 def query_proxy_or_target 129 @query_proxy_or_target ||= @query_proxy || @target 130 end