Class: Object

Inherits:
BasicObject
Includes:
Rtype::MethodAnnotator
Defined in:
lib/rtype/core_ext.rb,
lib/rtype/behavior/core_ext.rb

Instance Method Summary collapse

Methods included from Rtype::MethodAnnotator

included

Instance Method Details

#and(*others) ⇒ Rtype::Behavior::And



3
4
5
# File 'lib/rtype/behavior/core_ext.rb', line 3

def and(*others)
	::Rtype::and(self, *others)
end

#nilableRtype::Behavior::Nilable Also known as: or_nil



8
9
10
# File 'lib/rtype/behavior/core_ext.rb', line 8

def nilable
	::Rtype::nilable(self)
end

#notRtype::Behavior::Not



14
15
16
# File 'lib/rtype/behavior/core_ext.rb', line 14

def not
	::Rtype::not(self)
end

#xor(*others) ⇒ Rtype::Behavior::Xor



19
20
21
# File 'lib/rtype/behavior/core_ext.rb', line 19

def xor(*others)
	::Rtype::xor(self, *others)
end