Backport Integer#odd? to older Ruby versions
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sat, 4 Apr 2009 08:47:24 +0000 (10:47 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sat, 4 Apr 2009 08:47:24 +0000 (10:47 +0200)
commit19c3db8c0d06857bc4ee880185748ab6926fb0cc
treee781953a0906fb34d7cd4a33d06a8d7cffe21555
parentf7d6f1b76256c4002786fdecb6a3ef44fddf8282
Backport Integer#odd? to older Ruby versions

As pointed out by a private communication from Ben Jackson, Integer#odd?
was introduced in Ruby 1.8.7; to make the script runnable on older Ruby
versions, we define the method ourselves if it's missing.
rcs-fast-export.rb