class SyntaxTree::Database::OrQuery
Query for the results of either query.
Attributes
left[R]
right[R]
Public Class Methods
new(left, right)
click to toggle source
# File lib/syntax_tree/database.rb, line 139 def initialize(left, right) @left = left @right = right end
Public Instance Methods
each(database, &block)
click to toggle source
# File lib/syntax_tree/database.rb, line 144 def each(database, &block) left.each(database, &block) right.each(database, &block) end