Skip to content

1.8 compatibility fix#2

Open
gregormelhorn wants to merge 1 commit intojoshholt:masterfrom
autohaus24:master
Open

1.8 compatibility fix#2
gregormelhorn wants to merge 1 commit intojoshholt:masterfrom
autohaus24:master

Conversation

@gregormelhorn
Copy link

Hi Josh,

I added a "require 'rational'" line on top of chance.rb to restore ruby 1.8 compatiblity. In ruby 1.9 the lcm method has moved to the Integer class, requiring rational doesn't hurt though I think.

Keep up the good work!

Gregor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments