Created
October 23, 2012 19:46
-
-
Save andkerosine/3941115 to your computer and use it in GitHub Desktop.
Revisions
-
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ class Integer def method_missing meth, *args super unless meth[/base\d+/] to_s meth[4,2.0].to_i end end