From 452dba72f5bac3118a3405408665ae372ebbe6a1 Mon Sep 17 00:00:00 2001 From: brainopia Date: Wed, 19 Jan 2011 16:34:27 +0300 Subject: Remove unneeded yaml_as declaration --- activesupport/lib/active_support/core_ext/big_decimal/conversions.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'activesupport/lib/active_support/core_ext/big_decimal') diff --git a/activesupport/lib/active_support/core_ext/big_decimal/conversions.rb b/activesupport/lib/active_support/core_ext/big_decimal/conversions.rb index 11c318c244..080604147d 100644 --- a/activesupport/lib/active_support/core_ext/big_decimal/conversions.rb +++ b/activesupport/lib/active_support/core_ext/big_decimal/conversions.rb @@ -11,8 +11,6 @@ class BigDecimal YAML_TAG = 'tag:yaml.org,2002:float' YAML_MAPPING = { 'Infinity' => '.Inf', '-Infinity' => '-.Inf', 'NaN' => '.NaN' } - yaml_as YAML_TAG - # This emits the number without any scientific notation. # This is better than self.to_f.to_s since it doesn't lose precision. # -- cgit v1.2.3