class Fixnum
Public Instance Methods
to_alpha()
click to toggle source
# File lib/i2c/alpha_display/extensions.rb, line 8 def to_alpha return to_s if self < 1000 return self.to_f.to_alpha end
# File lib/i2c/alpha_display/extensions.rb, line 8 def to_alpha return to_s if self < 1000 return self.to_f.to_alpha end