method
become_content?
v4.2.9 -
Show latest stable
- Class:
ActiveSupport::XMLConverter
become_content?(value)private
No documentation available.
# File activesupport/lib/active_support/core_ext/hash/conversions.rb, line 197
def become_content?(value)
value['type'] == 'file' || (value['__content__'] && (value.keys.size == 1 || value['__content__'].present?))
end