Class: Num
Class Method Summary collapse
- .<(x) ⇒ Rtype::Behavior::NumericCheck
- .<=(x) ⇒ Rtype::Behavior::NumericCheck
- .==(x) ⇒ Rtype::Behavior::NumericCheck
- .>(x) ⇒ Rtype::Behavior::NumericCheck
- .>=(x) ⇒ Rtype::Behavior::NumericCheck
Class Method Details
.<(x) ⇒ Rtype::Behavior::NumericCheck
71 72 73 |
# File 'lib/rtype/behavior/core_ext.rb', line 71 def self.<(x) ::Rtype::Behavior::NumericCheck.new(:<, x) end |
.<=(x) ⇒ Rtype::Behavior::NumericCheck
79 80 81 |
# File 'lib/rtype/behavior/core_ext.rb', line 79 def self.<=(x) ::Rtype::Behavior::NumericCheck.new(:<=, x) end |
.==(x) ⇒ Rtype::Behavior::NumericCheck
87 88 89 |
# File 'lib/rtype/behavior/core_ext.rb', line 87 def self.==(x) ::Rtype::Behavior::NumericCheck.new(:==, x) end |
.>(x) ⇒ Rtype::Behavior::NumericCheck
55 56 57 |
# File 'lib/rtype/behavior/core_ext.rb', line 55 def self.>(x) ::Rtype::Behavior::NumericCheck.new(:>, x) end |
.>=(x) ⇒ Rtype::Behavior::NumericCheck
63 64 65 |
# File 'lib/rtype/behavior/core_ext.rb', line 63 def self.>=(x) ::Rtype::Behavior::NumericCheck.new(:>=, x) end |