Module: ConvenientService::Feature::Plugins::CanHaveEntries::Concern

Includes:
Support::Concern
Defined in:
lib/convenient_service/feature/plugins/can_have_entries/concern.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.entry(*names, &body) ⇒ Array<String, Symbol>

Parameters:

  • names (Array<String, Symbol>)
  • body (Proc, nil)

Returns:

  • (Array<String, Symbol>)


25
26
27
# File 'lib/convenient_service/feature/plugins/can_have_entries/concern.rb', line 25

def entry(*names, &body)
  Commands::DefineEntries.call(feature_class: self, names: names, body: body)
end

Instance Method Details

#entryObject

Returns Can be any type.

Returns:

  • (Object)

    Can be any type.



14
15
16
# File 'lib/convenient_service/feature/plugins/can_have_entries/concern.rb', line 14

def entry(...)
  public_send(...)
end