trak3r (owner)

Revisions

gist: 147115 Download_button fork
public
Description:
remove minutes/seconds from time
Public Clone URL: git://gist.github.com/147115.git
Embed All Files: show embed
Ruby #
1
2
3
4
5
class Time
  def no_minutes
    return self - self.min.minutes - self.sec.seconds
  end
end