Module: ObjectInspector::InspectorsHelper
- Defined in:
- lib/object_inspector/inspectors_helper.rb
Overview
ObjectInspector::InspectorsHelper can be included into any object to simplify the process of instantiating an ObjectInspector::Inspector and generating the inspection output.
Instance Method Summary collapse
-
#inspect(object = self, **kargs) ⇒ String
Calls ObjectInspector::Inspector.inspect on the passed in
object, passing it the passed inkargs(keyword arguments).
Instance Method Details
#inspect(object = self, **kargs) ⇒ String
Calls ObjectInspector::Inspector.inspect on the passed in object, passing it the passed in kargs (keyword arguments).
10 11 12 |
# File 'lib/object_inspector/inspectors_helper.rb', line 10 def inspect(object = self, **kargs) Inspector.inspect(object, **kargs) end |