mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
2e551356a7
This is how Kernel#{Array,String,Float,Integer,Hash,Rational} work. BigDecimal and Complex instances are always frozen, so this should not cause backwards compatibility issues for those. Pathname instances are not frozen, so potentially this could cause backwards compatibility issues by not returning a new object. Based on a patch from Joshua Ballanco, some minor changes by me. Fixes [Bug #7522] |
||
---|---|---|
.. | ||
lib | ||
sample | ||
util | ||
bigdecimal.c | ||
bigdecimal.def | ||
bigdecimal.gemspec | ||
bigdecimal.h | ||
depend | ||
extconf.rb |