class Integer
Public Instance Methods
time_format()
click to toggle source
# File lib/mastermind_sname/sname/game_logic.rb, line 49 def time_format mins = self / 60 secs = self % 60 "#{mins}m#{secs}s" end
# File lib/mastermind_sname/sname/game_logic.rb, line 49 def time_format mins = self / 60 secs = self % 60 "#{mins}m#{secs}s" end