Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix empty lines [ci skip]

  • Loading branch information...
commit a42bc4c9dfd7da50604d4136c9466dc7fcd3da14 1 parent 72973a3
@frodsan frodsan authored
View
1  activesupport/lib/active_support/core_ext/array/conversions.rb
@@ -106,7 +106,6 @@ def to_sentence(options = {})
# id list:
#
# Blog.all.to_formatted_s(:db) # => "1,2,3"
-
def to_formatted_s(format = :default)
case format
when :db
View
1  activesupport/lib/active_support/core_ext/big_decimal/conversions.rb
@@ -4,7 +4,6 @@
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)
Please sign in to comment.
Something went wrong with that request. Please try again.