Sha256: 517d112761471005a0111fe2c0870057ba91f15e658f0800971d487236027992
Contents?: true
Size: 517 Bytes
Versions: 2
Compression:
Stored size: 517 Bytes
Contents
# frozen_string_literal: true # ObjectInspector::InspectorsHelper can be included into any object to # simplify the process of instantiating an ObjectInspector::Inspector and # generating the inspection output. module ObjectInspector::InspectorsHelper # Calls {ObjectInspector::Inspector.inspect} on the passed in `object`, # passing it the passed in `kwargs` (keyword arguments). # # @return [String] def inspect(object = self, **kwargs) ObjectInspector::Inspector.inspect(object, **kwargs) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
object_inspector-0.7.0 | lib/object_inspector/inspectors_helper.rb |
object_inspector-0.6.3 | lib/object_inspector/inspectors_helper.rb |