Hi, a bit of a newbie to YARD here.
How do you document a method that takes either an argument, or an array of arguments? My current straightforward way:
# @param names [<Symbol,#to_sym>] the list of names to start with
# @param change [Symbol,#to_sym,nil,(Regexp,String),<Symbol,#to_sym,nil,(Regexp,String)>]
def foo(*names, change:)
The duplication on `@param change` seems a bit verbose, and possibly to the point of reduced clarity... Is there another way of doing it? I guess I could use overload, but that would make it even more verbose.
Thanks,
Mark