method
add_text
v1_8_7_330 -
Show latest stable
- Class:
SM::Fragment
add_text(txt)public
No documentation available.
# File lib/rdoc/markup/simple_markup/fragments.rb, line 22
def add_text(txt)
@txt << " " if @txt.length > 0
@txt << txt.tr_s("\n ", " ").strip
end