method
decorations
decorations()
public
Hide source
# File activemodel/lib/active_model/serializers/xml.rb, line 24 def decorations decorations = {} decorations[:encoding] = 'base64' if type == :binary decorations[:type] = type unless type == :string decorations[:nil] = true if value.nil? decorations end