Sha256: 86aeba17060ae515d26a324eeb294a5d2fefb343f70ef9724664a1f223dd1141
Contents?: true
Size: 516 Bytes
Versions: 83
Compression:
Stored size: 516 Bytes
Contents
require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/../../spec_helper' describe "Symbol#to_int" do ruby_version_is ""..."1.9" do not_compliant_on :rubinius do it "returns Symbol#to_i" do :ruby.to_int.is_a?(Integer).should == true :ruby.to_int.should == :ruby.to_i :ruby.to_int.should_not == :rubinius.to_i end end end ruby_version_is "1.9" do it "has been removed as deprecated" do :ruby.should_not respond_to(:to_int) end end end
Version data entries
83 entries across 83 versions & 1 rubygems