Sha256: b4cd78a0dbd7b624ce933e8f68b7ba324798ffa9240a29437a775ba5ca2de41e
Contents?: true
Size: 307 Bytes
Versions: 9
Compression:
Stored size: 307 Bytes
Contents
require "spec_helper" describe "Core Extensions" do describe Array do it "should have a #to_xy method" do [1,2,3].to_xy.should eql([1.0, 2.0]) end end describe Hash do it "should have a #to_xy method" do { x: 1.1, y: 2.1 }.to_xy.should eql([1.1, 2.1]) end end end
Version data entries
9 entries across 9 versions & 1 rubygems