Permalink
Browse files

Added note to README about destructive/non-destructive

  • Loading branch information...
1 parent 48deb5e commit df7cf554a36d65123ef8f90ae757dcd72d3a4962 @duckinator committed Jul 17, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 README.md
View
@@ -13,6 +13,8 @@ Usage (from `tests/rbsed_test.rb`):
"Foobar".sed('s/O/p/g') # => "Foobar"
```
+`String#sed(str)` is non-destructive, `String#sed!(str)` is destructive.
+
## License
Copyright (c) 2011, Nick Markwell <nick@duckinator.net>

0 comments on commit df7cf55

Please sign in to comment.