Module: Hashie::PrettyInspect

### Home Classes Methods

### In Files

- lib/hashie/hash_extensions.rb

### Methods

- ::included
- #hashie_inspect

### Class/Module Index

Quicksearch

- Hashie
- Hashie::Clash
- Hashie::Clash::ChainError
- Hashie::Dash
- Hashie::Hash
- Hashie::HashExtensions
- Hashie::Mash
- Hashie::PrettyInspect
- Hashie::Trash

No matching classes.

# Hashie::PrettyInspect

### Public Class Methods

included(base) click to toggle source

    # File lib/hashie/hash_extensions.rb, line 35
    def self.included(base)
      base.send :alias_method, :hash_inspect, :inspect
      base.send :alias_method, :inspect, :hashie_inspect
    end

### Public Instance Methods

hashie_inspect() click to toggle source

    # File lib/hashie/hash_extensions.rb, line 40
    def hashie_inspect
      ret = "#<#{self.class.to_s}"
      stringify_keys.keys.sort.each do |key|
        ret << " #{key}=#{self[key].inspect}"
      end
      ret << ">"
      ret
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.