faster_path 0.0.2

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

require 'complex'

ruby_version_is ''...'2.2' do
  describe "Numeric#im" do
    it "returns a new Complex number with self as the imaginary component" do
      20.im.should == Complex(0, 20)
      (-4.5).im.should == Complex(0, -4.5)
      bignum_value.im.should == Complex(0, bignum_value)
    end
  end
end