Class: Int
Class Method Summary collapse
- .<(x) ⇒ Rtype::Behavior::IntegerCheck
- .<=(x) ⇒ Rtype::Behavior::IntegerCheck
- .==(x) ⇒ Rtype::Behavior::IntegerCheck
- .>(x) ⇒ Rtype::Behavior::IntegerCheck
- .>=(x) ⇒ Rtype::Behavior::IntegerCheck
Class Method Details
.<(x) ⇒ Rtype::Behavior::IntegerCheck
113 114 115 |
# File 'lib/rtype/behavior/core_ext.rb', line 113 def self.<(x) ::Rtype::Behavior::IntegerCheck.new(:<, x) end |
.<=(x) ⇒ Rtype::Behavior::IntegerCheck
121 122 123 |
# File 'lib/rtype/behavior/core_ext.rb', line 121 def self.<=(x) ::Rtype::Behavior::IntegerCheck.new(:<=, x) end |
.==(x) ⇒ Rtype::Behavior::IntegerCheck
129 130 131 |
# File 'lib/rtype/behavior/core_ext.rb', line 129 def self.==(x) ::Rtype::Behavior::IntegerCheck.new(:==, x) end |
.>(x) ⇒ Rtype::Behavior::IntegerCheck
97 98 99 |
# File 'lib/rtype/behavior/core_ext.rb', line 97 def self.>(x) ::Rtype::Behavior::IntegerCheck.new(:>, x) end |
.>=(x) ⇒ Rtype::Behavior::IntegerCheck
105 106 107 |
# File 'lib/rtype/behavior/core_ext.rb', line 105 def self.>=(x) ::Rtype::Behavior::IntegerCheck.new(:>=, x) end |