Module: ConvenientService::Service::Plugins::HasAwesomePrintInspect::Concern

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

Instance Method Summary collapse

Instance Method Details

#inspectString

Returns:

  • (String)


14
15
16
17
18
19
20
21
22
23
# File 'lib/convenient_service/service/plugins/has_awesome_print_inspect/concern.rb', line 14

def inspect
   = {
    ConvenientService: {
      entity: "Service",
      name: inspect_values[:name]
    }
  }

  .ai
end

#inspect_valuesHash{Symbol => Object}

Returns:

  • (Hash{Symbol => Object})


31
32
33
# File 'lib/convenient_service/service/plugins/has_awesome_print_inspect/concern.rb', line 31

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