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
class
Hash
def
fetch_all
(
key
) results
=
[] ...
Ruby
Recursive Hash#fetch
by
Neo
,
March 12, 2008 14:05
, 1 refactoring, tagged with
nested hash
,
hash
,
fetch
I wanted a Hash#fetch that ...
I wanted a Hash#fetch that ...