README.rdoc in rahoulb-rujitsu-0.1.7 vs README.rdoc in rahoulb-rujitsu-0.1.8
- old
+ new
@@ -39,9 +39,14 @@
The String class has an extension that strips out URL-unfriendly characters.
""$%hello!@ 123 there'".to_url # => "hello-123-there"
+=== Truncating strings
+
+The String class has an extension that truncates it to a customisable length with a customisable suffix.
+
+ "this is a string".truncate(:length => 15) # => "this is a st..."
=== Grammar
So far the grammar library just adds the method +should_recieve+ for rspec assertions. Use it to find out what it does!