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.
195 196 197 |
# File 'lib/rally_rest_api/query.rb', line 195 def initialize(lhs, op, rhs) @lhs, @op, @rhs = lhs, op, rhs end |
Instance Method Details
#to_q ⇒ Object
199 200 201 |
# File 'lib/rally_rest_api/query.rb', line 199 def to_q "(#{@lhs.to_q} #{@op.to_q} #{@rhs.to_q})" end |