Skip to content

Instantly share code, notes, and snippets.

@yob
Created May 26, 2009 04:20
Show Gist options
  • Save yob/117889 to your computer and use it in GitHub Desktop.
Save yob/117889 to your computer and use it in GitHub Desktop.
irb(main):005:0> n = "James"
=> "James"
irb(main):006:0> n.strip!
=> nil
irb(main):007:0> n
=> "James"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment