Class: ActiveQuery::Resolver
- Inherits:
-
Object
- Object
- ActiveQuery::Resolver
- Defined in:
- lib/active_query/resolver.rb
Instance Attribute Summary collapse
-
#scope ⇒ Object
Returns the value of attribute scope.
Instance Method Summary collapse
-
#initialize(scope) ⇒ Resolver
constructor
A new instance of Resolver.
Constructor Details
#initialize(scope) ⇒ Resolver
Returns a new instance of Resolver.
7 8 9 |
# File 'lib/active_query/resolver.rb', line 7 def initialize(scope) @scope = scope end |
Instance Attribute Details
#scope ⇒ Object
Returns the value of attribute scope.
5 6 7 |
# File 'lib/active_query/resolver.rb', line 5 def scope @scope end |