README.rdoc in string-pad-0.0.1 vs README.rdoc in string-pad-0.0.2

- old
+ new

@@ -2,9 +2,22 @@ Creates a new string by concatenating enough leading zero-width pad characters to an original string to achieve a specified total length. Useful when tweeting identical text repeatedly. +== Synopsis + + require 'string/pad' + + str = 'PENTAX!'.pad(140) + + str # => PENTAX! + str.split(//).size # 140 + +== Installation + + gem install string-pad + == Contributing to string-pad * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet. * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it. * Fork the project.