method

encode_with

Importance_0
v4.2.7 - Show latest stable - 0 notes - Class: BigDecimal
encode_with(coder) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

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
Register or log in to add new notes.