martimatix / Ruby_Dice

A Yahtzee clone written in ruby that runs in the terminal
MIT License
3 stars 0 forks source link

Fixnum and rspec failiures #15

Closed martimatix closed 9 years ago

martimatix commented 9 years ago

Why is rspec returning a list of failiures with Fixnum? What is Fixnum?

Zrp200 commented 9 years ago

Fixnum is a subclass of Integer, referring to small numbers. Should I change it to Integer?

martimatix commented 9 years ago

Keep Fixnum. What needs to be done so that rspec no longer returns errors relating to fixnum?

Zrp200 commented 9 years ago

The return values need to be numbers and not nil.