Class: RecordInvocation::Controls::Invocation::MixedParameters::Example

Inherits:
Object
  • Object
show all
Defined in:
lib/record_invocation/controls/invocation.rb

Instance Method Summary collapse

Instance Method Details

#some_method(some_parameter, some_optional_parameter = nil, *some_multiple_assignment_parameter, some_keyword_parameter:, some_optional_keyword_parameter: nil, **some_multiple_assignment_keyword_parameter, &some_block) ⇒ Object



25
26
27
28
29
30
31
32
33
34
35
# File 'lib/record_invocation/controls/invocation.rb', line 25

def some_method(
  some_parameter,
  some_optional_parameter=nil,
  *some_multiple_assignment_parameter,
  some_keyword_parameter:,
  some_optional_keyword_parameter: nil,
  **some_multiple_assignment_keyword_parameter,
  &some_block
)
  ::Invocation.build(binding)
end