1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/spec/ruby/core/nil
Jean Boussier eff15a269f [EXPERIMENTAL] Make NilClass#to_s, TrueClass#to_s and FalseClass#to_s return a frozen String
* Always the same frozen String for each of these values.
    * Avoids extra allocations whenever calling these 3 methods.
    * See [Feature #16150]
2019-09-27 13:52:33 +09:00
..
and_spec.rb
dup_spec.rb
inspect_spec.rb
match_spec.rb
nil_spec.rb
nilclass_spec.rb
or_spec.rb
rationalize_spec.rb
to_a_spec.rb
to_c_spec.rb
to_f_spec.rb
to_h_spec.rb
to_i_spec.rb
to_r_spec.rb
to_s_spec.rb [EXPERIMENTAL] Make NilClass#to_s, TrueClass#to_s and FalseClass#to_s return a frozen String 2019-09-27 13:52:33 +09:00
xor_spec.rb