Module: ObjectInspector

Defined in:
lib/object_inspector.rb,
lib/object_inspector/version.rb

Overview

ObjectInspector is the base namespace for all modules/classes related to the object_inspector gem.

Defined Under Namespace

Modules: Conversions, InspectorsHelper Classes: BaseFormatter, CombiningFormatter, Configuration, Inspector, ObjectInterrogator, Scope, TemplatingFormatter

Constant Summary collapse

VERSION =

The current ObjectInspector gem version.

"0.7.0"

Class Method Summary collapse

Class Method Details

.configurationObject

Accessor for the Configuration object.



7
8
9
# File 'lib/object_inspector.rb', line 7

def self.configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yield Parameters:



12
13
14
# File 'lib/object_inspector.rb', line 12

def self.configure
  yield(configuration)
end

.reset_configurationObject

Reset the current configuration settings memoized by configuration.



18
19
20
# File 'lib/object_inspector.rb', line 18

def self.reset_configuration
  @configuration = Configuration.new
end