class Rx::Pattern
Attributes
patterns[R]
Public Class Methods
new(patterns)
click to toggle source
# File lib/rx/joins/pattern.rb, line 4 def initialize(patterns) @patterns = patterns end
Public Instance Methods
and(other)
click to toggle source
# File lib/rx/joins/pattern.rb, line 7 def and(other) Pattern.new(@patterns.concat(other)) end
then_do(selector = Proc.new)
click to toggle source
# File lib/rx/joins/pattern.rb, line 10 def then_do(selector = Proc.new) Plan.new(self, selector) end