Skip to content
Snippets Groups Projects
Commit 5dea7a1a authored by Marco Ceresa's avatar Marco Ceresa
Browse files

Merge pull request #68 from wpiekutowski/ruby-2-1-8-fix

Avoid Ruby 1.8 compatibility when using Ruby 2.1.8
parents 8fa088ba 7d3520d7
No related branches found
No related tags found
No related merge requests found
......@@ -214,7 +214,7 @@ end
#
# Compatibility with Ruby 1.8
#
if RUBY_VERSION =~ /1\.8/
if RUBY_VERSION =~ /^1\.8/
class Hash # :nodoc:
alias :key :index
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment