Created
March 22, 2012 01:37
-
-
Save sdeming/2155055 to your computer and use it in GitHub Desktop.
parens remix
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 characters
class Rubage | |
(def foo a, b, c | |
puts a | |
puts b | |
puts c | |
(puts a.gsub /A/, 'B') | |
end) | |
end | |
(if $0 == __FILE__ | |
(Rubage.new.foo "Abra", "Cada", "Bra") | |
end) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Lousy example... I'll try to contrive another.