-
-
Save jrwren/638625 to your computer and use it in GitHub Desktop.
Revisions
-
jrwren revised this gist
Oct 21, 2010 . 1 changed file with 6 additions and 4 deletions.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 @@ -1,6 +1,8 @@ def some_method(a, b, c=5, *p, q) if (q) c=7 other_method(a,b,c,p,q) end def other_method(a, b, c=4, *p, q) end -
trek renamed this gist
Oct 21, 2010 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
trek created this gist
Oct 21, 2010 .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 @@ def something(foo,bar,baz) end m = self.method(:something) m.parameters #=> [[:req, :foo], [:req, :bar], [:req, :baz]]