Skip to content

Commit

Permalink
Remove unneeded yaml_as declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
brainopia authored and tenderlove committed Jan 28, 2011
1 parent c29eef7 commit 452dba7
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#
Expand Down

0 comments on commit 452dba7

Please sign in to comment.