Module Hashie::Extensions::Mash::SymbolizeKeys
In: lib/hashie/extensions/mash/symbolize_keys.rb

Overrides Mash‘s default behavior of converting keys to strings

@example

  class LazyResponse < Hashie::Mash
    include Hashie::Extensions::Mash::SymbolizedKeys
  end

  response = LazyResponse.new("id" => 123, "name" => "Rey").to_h
  #=> {id: 123, name: "Rey"}

@api public

Methods

included  

Public Class methods

Hook for being included in a class

@api private @return [void] @raise [ArgumentError] when the base class isn‘t a Mash

[Validate]