Class: QueryString

Inherits:
Object
  • Object
show all
Defined in:
lib/rally_rest_api/query.rb

Overview

:nodoc: all

Instance Method Summary collapse

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_qObject



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