Skip to content

Instantly share code, notes, and snippets.

@sdeming
Created March 22, 2012 01:37
Show Gist options
  • Save sdeming/2155055 to your computer and use it in GitHub Desktop.
Save sdeming/2155055 to your computer and use it in GitHub Desktop.
parens remix
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)
@sdeming
Copy link
Author

sdeming commented Mar 22, 2012

Lousy example... I'll try to contrive another.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment