class SQLSearch::Conditions::Or

Attributes

left[R]
right[R]

Public Class Methods

new(options) click to toggle source
# File lib/sql_search_parser.rb, line 21
def initialize options
  @left = options[:left]; @right = options[:right]
end

Public Instance Methods

to_s() click to toggle source
# File lib/sql_search_parser.rb, line 25
def to_s
  "(#{left}) OR (#{right})"
end