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