Skip to content

Commit

Permalink
Fix base object for 1.8/1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie Savage committed Jan 7, 2013
1 parent 947fb41 commit 0048380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def self.ruby_minor_version
end

def self.parent_object
if ruby_major_version == 1 && ruby_major_version < 9
if ruby_major_version == 1 && ruby_minor_version == 8
Object
else
BasicObject
Expand Down

0 comments on commit 0048380

Please sign in to comment.