Module: CustomInspectMixin

Extended by:
ActiveSupport::Concern
Included in:
ManageIQ::API::Client::Authentication, ManageIQ::API::Client::Collection, ManageIQ::API::Client::Resource
Defined in:
lib/manageiq/api/client/mixins/custom_inspect_mixin.rb

Instance Method Summary collapse

Instance Method Details

#inspectObject



4
5
6
# File 'lib/manageiq/api/client/mixins/custom_inspect_mixin.rb', line 4

def inspect
  pretty_print_inspect
end

#pretty_print(q) ⇒ Object



8
9
10
# File 'lib/manageiq/api/client/mixins/custom_inspect_mixin.rb', line 8

def pretty_print(q)
  q.pp_object(self)
end

#pretty_print_instance_variablesObject



12
13
14
# File 'lib/manageiq/api/client/mixins/custom_inspect_mixin.rb', line 12

def pretty_print_instance_variables
  super - self.class::CUSTOM_INSPECT_EXCLUSIONS
end