Class: RxRuby::Pattern
- Inherits:
-
Object
- Object
- RxRuby::Pattern
- Defined in:
- lib/rx_ruby/joins/pattern.rb
Instance Attribute Summary collapse
-
#patterns ⇒ Object
readonly
Returns the value of attribute patterns.
Instance Method Summary collapse
- #and(other) ⇒ Object
-
#initialize(patterns) ⇒ Pattern
constructor
A new instance of Pattern.
- #then_do(selector = Proc.new) ⇒ Object
Constructor Details
#initialize(patterns) ⇒ Pattern
Returns a new instance of Pattern.
4 5 6 |
# File 'lib/rx_ruby/joins/pattern.rb', line 4 def initialize(patterns) @patterns = patterns end |
Instance Attribute Details
#patterns ⇒ Object (readonly)
Returns the value of attribute patterns.
3 4 5 |
# File 'lib/rx_ruby/joins/pattern.rb', line 3 def patterns @patterns end |