Sha256: 58454eff1c90f0f9de9e8071fbc4cbc5ce6f490c52a5539f23c7a661106bf6df
Contents?: true
Size: 267 Bytes
Versions: 6
Compression:
Stored size: 267 Bytes
Contents
require File.dirname(File.dirname(__FILE__)) + '/spec_helper.rb' describe Proc do before :all do @it=Proc.new{|x|x.is_a? Float} end it 'uses call as ===' do (@it===3.4).should be_true (@it===7).should be_false (@it==='hello').should be_false end end
Version data entries
6 entries across 6 versions & 1 rubygems