yard
yard copied to clipboard
Future request return type
If method return Array<Hash> type, I want to document fully structure of Hash.
# return [Array<Hash>]
# [
# {
# foo: Integer,
# date_time: Time
# }
# ]
def method_name()
[
{
foo: 42,
date_time: Time.new
}
]
end
How I can do it?
@tit take a look at issue #425