faster_path 0.0.2

Alternative to Pathname
Documentation
1
2
3
4
5
6
7
8
9
require File.expand_path('../../../spec_helper', __FILE__)

describe :rational_hash, shared: true do
  # BUG: Rational(2, 3).hash == Rational(3, 2).hash
  it "is static" do
    Rational(2, 3).hash.should == Rational(2, 3).hash
    Rational(2, 4).hash.should_not == Rational(2, 3).hash
  end
end