method
encode_with
Ruby on Rails latest stable (v7.1.3.2)
-
0 notes -
Class: BigDecimal
encode_with(coder)
public
Hide source
# File activesupport/lib/active_support/core_ext/big_decimal/yaml_conversions.rb, line 12 def encode_with(coder) string = to_s coder.represent_scalar(nil, YAML_MAPPING[string] || string) end