Skip to content

Instantly share code, notes, and snippets.

@jballanc
Created October 27, 2009 19:19
Show Gist options
  • Save jballanc/219856 to your computer and use it in GitHub Desktop.
Save jballanc/219856 to your computer and use it in GitHub Desktop.
irb(main):001:0> class String
irb(main):002:1> alias :foo :length
irb(main):003:1> end
=> nil
irb(main):004:0> "".foo
=> 0
irb(main):005:0>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment