Permalink
Browse files

fix empty lines [ci skip]

  • Loading branch information...
Francesco Rodriguez
Francesco Rodriguez committed May 28, 2012
1 parent 72973a3 commit a42bc4c9dfd7da50604d4136c9466dc7fcd3da14
@@ -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
@@ -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)

0 comments on commit a42bc4c

Please sign in to comment.