We were using generic names like `args` and `options` which don't really add anything to `*` or `**` because Ruby required us to. That's no longer the case in Ruby 3.2, so we can simplify the code a bit.
6 lines
103 B
Ruby
6 lines
103 B
Ruby
module LinkListHelper
|
|
def link_list(*, **)
|
|
render Shared::LinkListComponent.new(*, **)
|
|
end
|
|
end
|