Files

Kernel

 Copyright (c) 2010 Michael Dvorkin

 Awesome Print is freely distributable under the terms of MIT license.
 See LICENSE file or http://www.opensource.org/licenses/mit-license.php

Public Class Methods

ap(object, options = {}) click to toggle source
    # File lib/ap/core_ext/kernel.rb, line 14
14:   def ap(object, options = {})
15:     puts object.ai(options)
16:   end
Also aliased as: awesome_print

Public Instance Methods

ai(options = {}) click to toggle source
    # File lib/ap/core_ext/kernel.rb, line 8
 8:   def ai(options = {})
 9:     ap = AwesomePrint.new(options)
10:     ap.send(:awesome, self)
11:   end
Also aliased as: awesome_inspect
awesome_inspect(options = {}) click to toggle source
Alias for: ai
awesome_print(object, options = {}) click to toggle source
Alias for: ap

Private Instance Methods

ap(object, options = {}) click to toggle source
    # File lib/ap/core_ext/kernel.rb, line 14
14:   def ap(object, options = {})
15:     puts object.ai(options)
16:   end
Also aliased as: awesome_print

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.