lib/object_inspector/inspector.rb
# Call `value` on {@object} if it responds to it and the result is not nil,
# else just return `value`.
#
# @return [#to_s] if {@object} responds to `value` and if the call result
#   isn't nil
# @return [#nil] if {@object} doesn't respond to `value` or if the call
#   result is nil
Call `value` on  if it responds to it and the result is not nil,
else just return `value`.
Call ` value ` on if it responds to it and the result is not nil else just return ` value ` .
def evaluate_passed_in_value(value)
      if value.is_a?(Symbol)
        interrogate_object(method_name: value) || value
      else
        value
      end
    end
def evaluate_passed_in_value ( value ) if value . is_a? ( Symbol ) interrogate_object ( method_name : value ) || value else value end end
Call `value` on {@object} if it responds to it and the result is not nil,
else just return `value`.
Call ` value ` on { @object } if it responds to it and the result is not nil else just return ` value ` .
if  responds to `value` and if the call result isn't nil
if responds to ` value ` and if the call result isn ' t nil
#to_s
if  doesn't respond to `value` or if the call result is nil
if doesn ' t respond to ` value ` or if the call result is nil
#nil
value
<not_specific>