faster_path 0.0.2

Alternative to Pathname
Documentation
1
2
3
4
5
6
7
8
9
describe :queue_length, shared: true do
  it "returns the number of elements" do
    q = @object
    q.send(@method).should == 0
    q << Object.new
    q << Object.new
    q.send(@method).should == 2
  end
end