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) ⇒ Object



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

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

#nilableObject Also known as: or_nil



6
7
8
# File 'lib/rtype/behavior/core_ext.rb', line 6

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

#notObject



11
12
13
# File 'lib/rtype/behavior/core_ext.rb', line 11

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

#xor(*others) ⇒ Object



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

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