Skip to content

Commit

Permalink
Attempt to fix jruby compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Zolnierek committed May 3, 2012
1 parent 65279fa commit 20c87ca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/monadic/jruby_fixes.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
if defined?(JRUBY_VERSION) && RUBY_VERSION =~ /^1\.9/
class KeyError < IndexError
end
KeyError = IndexError
end

0 comments on commit 20c87ca

Please sign in to comment.