Skip to content

Instantly share code, notes, and snippets.

@mbj
Created March 24, 2015 01:12
Show Gist options
  • Save mbj/d3051b240287afb2fa4c to your computer and use it in GitHub Desktop.
Save mbj/d3051b240287afb2fa4c to your computer and use it in GitHub Desktop.
The joy of mathn.
% bundle exec rails c
[1] pry(main)> Rational(1,1)
=> 1
% irb -r rational
irb(main):001:0> Rational(1,1)
=> (1/1)
@mbj
Copy link
Author

mbj commented Mar 24, 2015

Its not rails. Its mathn.

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