YARD documentation for splat (lists) as parameters

[I am using YARD to document my code. I’m new to YARD, but I’ve read through the documentation and didn’t see this: ]

How do I properly document splat lists?

The method I’m thinking about takes an arbitrary list of ruby
Objects. Here is what I’m thinking:

@param [*Array] objects A list of objects

@param [*Objects] objects A list of objects

@param [*Objects] objects A splat list of objects

Any advice/direction is greatly appreciated!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs