Skip to content

Conversation

@erikthiem
Copy link


it "Yes, it is a Object, but which" do
expect(1.is_a? _fill_in_object_).to be true
expect(1.is_a? Fixnum).to be true
Copy link
Member

@mikegee mikegee May 30, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ruby 2.4 removes the Fixnum (and Bignum) classes. Replacing Fixnum with Integer here works on 2.4 and all previous versions since Fixnum and Bignum were subclasses of Integer.

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.

2 participants