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