public
Description: Truncate optimized to break the string at the end of one word or paragraph.
Homepage:
Clone URL: git://github.com/philipecasarotte/summary.git
Philipe Casarotte (author)
Tue Dec 30 04:41:26 -0800 2008
commit  31794650ed2fcbd476d45825ebeb778dfc08153d
tree    36032b954b836c5c67689d10859e6f5f4804f742
parent  a6788b9271bd5f2c21febca37a29f46c574283d3
name age message
file .DS_Store Loading commit data...
file MIT-LICENSE
file README
file Rakefile
file init.rb
directory lib/
directory tasks/
directory test/
README
Summary
=======

This is a simple plugin that generates introduction text from a long text, it will always break the text at the end of 
the last word near to the limit you informed as argument.


Example
=======

@page.body.summary 100

Full Body
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna 
aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis 
aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint 
occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Summary Body
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna 
aliqua. Ut enim ad minim veniam...

Copyright (c) 2008 [Philipe Casarotte], released under the MIT license