Class: TrueClass
Overview
The TrueClass class
Instance Method Summary collapse
Instance Method Details
#+(other) ⇒ Object
186 187 188 |
# File 'lib/runtime/mixins.rb', line 186 def +(other) format(JoinedTemplate, str: self.to_s, other: other.to_s) end |
#<(other) ⇒ Object
196 197 198 199 200 |
# File 'lib/runtime/mixins.rb', line 196 def <(other) other > 1 rescue StandardError => _e false end |
#>(other) ⇒ Object
190 191 192 193 194 |
# File 'lib/runtime/mixins.rb', line 190 def >(other) other < 1 rescue StandardError => _e false end |
#to_f ⇒ Object
206 207 208 |
# File 'lib/runtime/mixins.rb', line 206 def to_f 1.0 end |
#to_i ⇒ Object
202 203 204 |
# File 'lib/runtime/mixins.rb', line 202 def to_i 1 end |