Module: ConvenientService::Service::Plugins::HasInspect::Concern

Includes:
ConvenientService::Support::Concern
Defined in:
lib/convenient_service/service/plugins/has_inspect/concern.rb

Instance Method Summary collapse

Instance Method Details

#inspectString

Returns:

  • (String)


14
15
16
# File 'lib/convenient_service/service/plugins/has_inspect/concern.rb', line 14

def inspect
  "<#{inspect_values[:name]}>"
end

#inspect_valuesHash{Symbol => Object}

Returns:

  • (Hash{Symbol => Object})


21
22
23
# File 'lib/convenient_service/service/plugins/has_inspect/concern.rb', line 21

def inspect_values
  {name: Utils::Class.display_name(self.class)}
end