method
become_empty_string?
v5.0.0.1 -
Show latest stable
- Class:
ActiveSupport::XMLConverter
become_empty_string?(value)private
No documentation available.
# File activesupport/lib/active_support/core_ext/hash/conversions.rb, line 225
def become_empty_string?(value)
# { "string" => true }
# No tests fail when the second term is removed.
value['type'] == 'string' && value['nil'] != 'true'
end