Sha256: e05a875584e69df7cd045b808987276d71bab0daccd846aba7d38be161c1820a
Contents?: true
Size: 223 Bytes
Versions: 2
Compression:
Stored size: 223 Bytes
Contents
assert('NilClass#to_a') do assert_equal [], nil.to_a end assert('NilClass#to_f') do skip unless Object.const_defined?(:Float) assert_equal 0.0, nil.to_f end assert('NilClass#to_i') do assert_equal 0, nil.to_i end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
script_core-0.1.1 | ext/enterprise_script_service/mruby/mrbgems/mruby-object-ext/test/nil.rb |
script_core-0.1.0 | ext/enterprise_script_service/mruby/mrbgems/mruby-object-ext/test/nil.rb |