Class: Surus::JSON::Query
- Inherits:
-
Object
- Object
- Surus::JSON::Query
- Defined in:
- lib/surus/json/query.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#original_scope ⇒ Object
readonly
Returns the value of attribute original_scope.
Instance Method Summary collapse
-
#initialize(original_scope, options = {}) ⇒ Query
constructor
A new instance of Query.
Constructor Details
#initialize(original_scope, options = {}) ⇒ Query
Returns a new instance of Query.
7 8 9 10 |
# File 'lib/surus/json/query.rb', line 7 def initialize(original_scope, ={}) @original_scope = original_scope @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
5 6 7 |
# File 'lib/surus/json/query.rb', line 5 def @options end |
#original_scope ⇒ Object (readonly)
Returns the value of attribute original_scope.
4 5 6 |
# File 'lib/surus/json/query.rb', line 4 def original_scope @original_scope end |