Sha256: bb6f41f9a4c012fe4b777ed09f90a89183ef963553a96f8a9448dbc91a9e2b94

Contents?: true

Size: 403 Bytes

Versions: 3

Compression:

Stored size: 403 Bytes

Contents

class NSDictionary
  def to_hash
    Hash.new.tap do |h|
      h.replace self
    end
  end
  
  delegate :symbolize_keys, :symbolize_keys!, :deep_symbolize_keys, :deep_symbolize_keys!,
    :stringify_keys, :stringify_keys!, :deep_stringify_keys!, :deep_stringify_keys,
    :deep_transform_keys, :deep_transform_keys!,
    :with_indifferent_access, :nested_under_indifferent_access, :to => :to_hash
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
motion-support-1.2.1 motion/core_ext/ns_dictionary.rb
motion-support-1.1.1 motion/core_ext/ns_dictionary.rb
motion-support-1.2.0 motion/core_ext/ns_dictionary.rb