Method: FlowCore::Violations#to_xml

Defined in:
lib/flow_core/violations.rb

#to_xml(options = {}) ⇒ Object



104
105
106
# File 'lib/flow_core/violations.rb', line 104

def to_xml(options = {})
  to_a.to_xml({ root: "errors", skip_types: true }.merge!(options))
end