Please sign in to comment.
ruby 1.8.7 compat: `starts/ends_with?` doesn't cast to string
`starts/ends_with?` methods shouldn't cast argument to string because ruby 1.8.7 doesn't seem to do that. for example: "foobar".ends_with?(:bar) # => true in ActiveSupport implementation, false in ruby 1.8.7 [#3199 state:committed] Signed-off-by: Jeremy Kemper <firstname.lastname@example.org>
- Loading branch information...
Showing with 3 additions and 3 deletions.