Skip to content
Snippets Groups Projects
Commit 7d3520d7 authored by Wojciech Piekutowski's avatar Wojciech Piekutowski
Browse files

Avoid Ruby 1.8 compatibility when using Ruby 2.1.8

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