method
to_hash
v8.0.0 -
Show latest stable
- Class:
ActiveModel::AttributeSet
to_hash()public
No documentation available.
# File activemodel/lib/active_model/attribute_set.rb, line 36
def to_hash
keys.index_with { |name| self[name].value }
end