Class: QueryString
- Inherits:
-
Object
- Object
- QueryString
- Defined in:
- lib/rally_rest_api/query.rb
Overview
:nodoc: all
Instance Method Summary collapse
-
#initialize(lhs, op, rhs) ⇒ QueryString
constructor
A new instance of QueryString.
- #to_q ⇒ Object
Constructor Details
#initialize(lhs, op, rhs) ⇒ QueryString
Returns a new instance of QueryString.
197 198 199 |
# File 'lib/rally_rest_api/query.rb', line 197 def initialize(lhs, op, rhs) @lhs, @op, @rhs = lhs, op, rhs end |
Instance Method Details
#to_q ⇒ Object
201 202 203 |
# File 'lib/rally_rest_api/query.rb', line 201 def to_q "(#{@lhs.to_q} #{@op.to_q} #{@rhs.to_q})" end |