Refactor
:my
=>
'code'
Codes
Refactorings
Popular
Best
Submit
Spam
Account
Logout
Login
JavaScript doesn't seem to be activated, expect things to be ugly and sloppy!
All
Ruby
PHP
JavaScript
ActionScript
Java
C
C++
C#
VB.NET
Python
Perl
Lisp
Erlang
Haskell
Bash
More Jobs
Recent
Displaying numbers to words.
Williams Words
Doing a 'blank?' in named_scope
Factoring Integers
Filterting a List<> with a Regular Expression
Converting Textile to S5
Efficiently load a text file into a sorted String Array
Cheap ruby block templating
Bindings on caller
Initial script execution very slow and skewing results
Popular
Displaying numbers to words.
Filterting a List<> with a Regular Expression
Efficiently load a text file into a sorted String Array
Factoring Integers
Doing a 'blank?' in named_scope
Converting Textile to S5
Williams Words
Caching Methods
Cheap ruby block templating
How to find max, min of three numbers?
1 2 3 4
def
sec_to_time
(
sec
) t
=
Hash
.
new
a_sec
=
sec.
divmod
(
60
) ...
Ruby
time to second, second to time
by
kyzh
,
June 11, 2008 21:21
, 2 refactorings, tagged with
ruby time seconds
I have a time in second and...
I have a time in second and...