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>)


30
31
32
# File 'lib/convenient_service/feature/plugins/can_have_entries/concern.rb', line 30

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

.triggerObject

Returns Can be any type.

Returns:

  • (Object)

    Can be any type.



37
38
39
# File 'lib/convenient_service/feature/plugins/can_have_entries/concern.rb', line 37

def trigger(...)
  new.trigger(...)
end

Instance Method Details

#triggerObject

Returns Can be any type.

Returns:

  • (Object)

    Can be any type.



19
20
21
# File 'lib/convenient_service/feature/plugins/can_have_entries/concern.rb', line 19

def trigger(...)
  public_send(...)
end