lib/hanami/utils/attributes.rb
# Returns a deep duplicated copy of the attributes as a Hash
#
# @return [::Hash]
#
# @since 0.3.2
Returns a deep duplicated copy of the attributes as a Hash
Returns a deep duplicated copy of the attributes as a Hash
def to_h
        ::Hash[].tap do |result|
          @attributes.each do |k, v|
            result[k] = _read_value(v)
          end
        end
      end
def to_h :: Hash [ ] . tap do | result | @attributes . each do | k , v | result [ k ] = _read_value ( v ) end end end
Returns a deep duplicated copy of the attributes as a Hash
Returns a deep duplicated copy of the attributes as a Hash
None
::Hash
since
None