Method: Object#to_hms
- Defined in:
- lib/x_tensions/object.rb
#to_hms ⇒ Object
3 4 5 |
# File 'lib/x_tensions/object.rb', line 3 def to_hms Time.at(self.to_f).utc.strftime("%H:%M:%S") end |
3 4 5 |
# File 'lib/x_tensions/object.rb', line 3 def to_hms Time.at(self.to_f).utc.strftime("%H:%M:%S") end |