Class: Object
- Inherits:
- BasicObject
- Includes:
- Rtype::MethodAnnotator
- Defined in:
- lib/rtype/core_ext.rb,
lib/rtype/behavior/core_ext.rb
Instance Method Summary collapse
- #and(*others) ⇒ Object
- #nilable ⇒ Object (also: #or_nil)
- #not ⇒ Object
- #xor(*others) ⇒ Object
Methods included from Rtype::MethodAnnotator
Instance Method Details
#and(*others) ⇒ Object
2 3 4 |
# File 'lib/rtype/behavior/core_ext.rb', line 2 def and(*others) ::Rtype::and(self, *others) end |
#nilable ⇒ Object Also known as: or_nil
6 7 8 |
# File 'lib/rtype/behavior/core_ext.rb', line 6 def nilable ::Rtype::nilable(self) end |