]> git.wincent.com - wikitext.git/commit
Ruby 1.9: use String#each_line instead of #each
authorWincent Colaiuta <win@wincent.com>
Fri, 13 Feb 2009 17:27:31 +0000 (18:27 +0100)
committerWincent Colaiuta <win@wincent.com>
Fri, 13 Feb 2009 17:27:31 +0000 (18:27 +0100)
commit52a38cf8b2b2b70268755ebe8d1ac2bccb95744a
tree5012089e8f8e7b50058cd67e0382e8b85aed7e57
parentb3496ef435aaabb7c12dda59ed783f15a6cf4322
Ruby 1.9: use String#each_line instead of #each

String#each isn't implemented in 1.9, so switch to #each_line,
which should work in both 1.8.6 and 1.9.1.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
spec/spec_helper.rb