Module: Invocation::Controls::NamedParameters

Defined in:
lib/invocation/controls/named_parameters.rb

Defined Under Namespace

Classes: Example

Class Method Summary collapse

Class Method Details

.example(some_parameter:, some_other_parameter:) ⇒ Object



4
5
6
7
# File 'lib/invocation/controls/named_parameters.rb', line 4

def self.example(some_parameter:, some_other_parameter:)
  subject = Example.new
  subject.some_method(some_parameter: some_parameter, some_other_parameter: some_other_parameter)
end