class Object

Constants

Any

Public Instance Methods

and(*others) click to toggle source

@return [Rtype::Behavior::And]

# File lib/rtype/behavior/core_ext.rb, line 3
def and(*others)
        ::Rtype::and(self, *others)
end
nilable() click to toggle source

@return [Rtype::Behavior::Nilable]

# File lib/rtype/behavior/core_ext.rb, line 8
def nilable
        ::Rtype::nilable(self)
end
Also aliased as: or_nil
not() click to toggle source

@return [Rtype::Behavior::Not]

# File lib/rtype/behavior/core_ext.rb, line 14
def not
        ::Rtype::not(self)
end
or_nil()
Alias for: nilable
xor(*others) click to toggle source

@return [Rtype::Behavior::Xor]

# File lib/rtype/behavior/core_ext.rb, line 19
def xor(*others)
        ::Rtype::xor(self, *others)
end