Class: Mongoose::Property
Instance Attribute Summary collapse
-
#arg ⇒ Object
readonly
Returns the value of attribute arg.
-
#comparison ⇒ Object
readonly
Returns the value of attribute comparison.
-
#property_name ⇒ Object
readonly
Returns the value of attribute property_name.
-
#subquery_no ⇒ Object
readonly
Returns the value of attribute subquery_no.
-
#subquery_type ⇒ Object
readonly
Returns the value of attribute subquery_type.
Instance Method Summary collapse
-
#initialize(name, query, subquery_no, subquery_type) ⇒ Property
constructor
A new instance of Property.
Constructor Details
#initialize(name, query, subquery_no, subquery_type) ⇒ Property
Returns a new instance of Property.
5 6 7 8 9 10 |
# File 'lib/mongoose/query.rb', line 5 def initialize(name, query, subquery_no, subquery_type) @property_name = name @query = query @subquery_no = subquery_no @subquery_type = subquery_type end |
Instance Attribute Details
#arg ⇒ Object (readonly)
Returns the value of attribute arg.
4 5 6 |
# File 'lib/mongoose/query.rb', line 4 def arg @arg end |
#comparison ⇒ Object (readonly)
Returns the value of attribute comparison.
4 5 6 |
# File 'lib/mongoose/query.rb', line 4 def comparison @comparison end |
#property_name ⇒ Object (readonly)
Returns the value of attribute property_name.
4 5 6 |
# File 'lib/mongoose/query.rb', line 4 def property_name @property_name end |
#subquery_no ⇒ Object (readonly)
Returns the value of attribute subquery_no.
4 5 6 |
# File 'lib/mongoose/query.rb', line 4 def subquery_no @subquery_no end |
#subquery_type ⇒ Object (readonly)
Returns the value of attribute subquery_type.
4 5 6 |
# File 'lib/mongoose/query.rb', line 4 def subquery_type @subquery_type end |