class Flo

Public Class Methods

<(x) click to toggle source

@param [Numeric] x @return [Rtype::Behavior::FloatCheck] @example Value must be a Float and > 2

rtype [Flo > 2] => Any
# File lib/rtype/behavior/core_ext.rb, line 155
def self.<(x)
        ::Rtype::Behavior::FloatCheck.new(:<, x)
end
<=(x) click to toggle source

@param [Numeric] x @return [Rtype::Behavior::FloatCheck] @example Value must be a Float and > 2

rtype [Flo > 2] => Any
# File lib/rtype/behavior/core_ext.rb, line 163
def self.<=(x)
        ::Rtype::Behavior::FloatCheck.new(:<=, x)
end
==(x) click to toggle source

@param [Numeric] x @return [Rtype::Behavior::FloatCheck] @example Value must be a Float and > 2

rtype [Flo > 2] => Any
# File lib/rtype/behavior/core_ext.rb, line 171
def self.==(x)
        ::Rtype::Behavior::FloatCheck.new(:==, x)
end
>(x) click to toggle source

@param [Numeric] x @return [Rtype::Behavior::FloatCheck] @example Value must be a Float and > 2

rtype [Flo > 2] => Any
# File lib/rtype/behavior/core_ext.rb, line 139
def self.>(x)
        ::Rtype::Behavior::FloatCheck.new(:>, x)
end
>=(x) click to toggle source

@param [Numeric] x @return [Rtype::Behavior::FloatCheck] @example Value must be a Float and > 2

rtype [Flo > 2] => Any
# File lib/rtype/behavior/core_ext.rb, line 147
def self.>=(x)
        ::Rtype::Behavior::FloatCheck.new(:>=, x)
end