class ActiveSupport::XMLConverter

Private Instance Methods

become_content?(value) click to toggle source
# File lib/maremma/xml_converter.rb, line 10
def become_content?(value)
  value['type'] == 'file' || value['type'] == 'string' || (value['__content__'] && (value.keys.size == 1 && value['__content__'].present?))
end