# File lib/yard/parser/ruby/ast_node.rb, line 383 def optional_params optional = self[1] || [] if self[-3] && self[-3][0] && self[-3][0].type == :default_arg optional += self[-3] end optional.empty? ? nil : optional end