method
encode_with
![No documentation Importance_0](https://d2vfyqvduarcvs.cloudfront.net/images/importance_0.png?1349367920)
encode_with(coder)
public
Hide source
# File activesupport/lib/active_support/core_ext/big_decimal/conversions.rb, line 27 def encode_with(coder) string = to_s coder.represent_scalar(nil, YAML_MAPPING[string] || string) end