Module: Stitcher::TypeOperators
- Included in:
- Type
- Defined in:
- lib/stitcher/type.rb
Instance Method Summary collapse
Instance Method Details
#! ⇒ Object
11 12 13 |
# File 'lib/stitcher/type.rb', line 11 def ! Stitcher.type_not self end |
#&(other) ⇒ Object
7 8 9 |
# File 'lib/stitcher/type.rb', line 7 def & other Stitcher.type_and self, other end |
#+@ ⇒ Object
15 16 17 |
# File 'lib/stitcher/type.rb', line 15 def +@ Stitcher.type_plus_at self end |
#|(other) ⇒ Object
3 4 5 |
# File 'lib/stitcher/type.rb', line 3 def | other Stitcher.type_or self, other end |