diff options
author | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-05-28 02:40:26 -0500 |
---|---|---|
committer | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-05-28 02:40:26 -0500 |
commit | a42bc4c9dfd7da50604d4136c9466dc7fcd3da14 (patch) | |
tree | 70c295f9dd0825671e8e6759231d41825eb4efdf /activesupport | |
parent | 72973a30704894c808836d80a001208c1af39e7c (diff) | |
download | rails-a42bc4c9dfd7da50604d4136c9466dc7fcd3da14.tar.gz rails-a42bc4c9dfd7da50604d4136c9466dc7fcd3da14.tar.bz2 rails-a42bc4c9dfd7da50604d4136c9466dc7fcd3da14.zip |
fix empty lines [ci skip]
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/core_ext/array/conversions.rb | 1 | ||||
-rw-r--r-- | activesupport/lib/active_support/core_ext/big_decimal/conversions.rb | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/core_ext/array/conversions.rb b/activesupport/lib/active_support/core_ext/array/conversions.rb index 2af87d3b6b..d8b8585ada 100644 --- a/activesupport/lib/active_support/core_ext/array/conversions.rb +++ b/activesupport/lib/active_support/core_ext/array/conversions.rb @@ -106,7 +106,6 @@ class Array # id list: # # Blog.all.to_formatted_s(:db) # => "1,2,3" - def to_formatted_s(format = :default) case format when :db 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 5b673e104a..3ec7e576c8 100644 --- a/activesupport/lib/active_support/core_ext/big_decimal/conversions.rb +++ b/activesupport/lib/active_support/core_ext/big_decimal/conversions.rb @@ -4,7 +4,6 @@ require 'yaml' class BigDecimal YAML_MAPPING = { 'Infinity' => '.Inf', '-Infinity' => '-.Inf', 'NaN' => '.NaN' } - def encode_with(coder) string = to_s coder.represent_scalar(nil, YAML_MAPPING[string] || string) |