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
-
.configuration ⇒ Object
Accessor for the Configuration object.
- .configure {|configuration| ... } ⇒ Object
-
.reset_configuration ⇒ Object
Reset the current configuration settings memoized by ObjectInspector.configuration.
Class Method Details
.configuration ⇒ Object
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
12 13 14 |
# File 'lib/object_inspector.rb', line 12 def self.configure yield(configuration) end |
.reset_configuration ⇒ Object
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 |