Module: Algebrick::MatcherDelegations
- Included in:
- ParametrizedType, Type
- Defined in:
- lib/algebrick/matcher_delegations.rb
Instance Method Summary (collapse)
-
- (Object) !
-
- (Object) &(other)
-
- (Object) >(block)
-
- (Object) >>(block)
-
- (Object) case(&block)
-
- (Object) |(other)
-
- (Object) ~
Instance Method Details
- (Object) !
29 30 31 |
# File 'lib/algebrick/matcher_delegations.rb', line 29 def ! !to_m end |
- (Object) &(other)
21 22 23 |
# File 'lib/algebrick/matcher_delegations.rb', line 21 def &(other) to_m & other end |
- (Object) >(block)
41 42 43 |
# File 'lib/algebrick/matcher_delegations.rb', line 41 def >(block) to_m > block end |
- (Object) >>(block)
37 38 39 |
# File 'lib/algebrick/matcher_delegations.rb', line 37 def >>(block) to_m >> block end |
- (Object) case(&block)
33 34 35 |
# File 'lib/algebrick/matcher_delegations.rb', line 33 def case(&block) to_m.case &block end |
- (Object) |(other)
25 26 27 |
# File 'lib/algebrick/matcher_delegations.rb', line 25 def |(other) to_m | other end |
- (Object) ~
17 18 19 |
# File 'lib/algebrick/matcher_delegations.rb', line 17 def ~ ~to_m end |