Skip to content

Instantly share code, notes, and snippets.

@gongo
Created June 2, 2010 08:14
Show Gist options
  • Save gongo/422096 to your computer and use it in GitHub Desktop.
Save gongo/422096 to your computer and use it in GitHub Desktop.
class Gongo
def self.[](v)
return v*3
end
end
puts Gongo["du"]
#
# % ruby gongo.rb
# dududu
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment