Method: RDoc::Parser::Ruby#parse_yield

Defined in:
lib/rdoc/parser/ruby.rb

#parse_yield(context, single, tk, method) ⇒ Object

Determines the block parameter for context



2074
2075
2076
2077
2078
2079
# File 'lib/rdoc/parser/ruby.rb', line 2074

def parse_yield(context, single, tk, method)
  return if method.block_params

  get_tkread
  method.block_params = parse_method_or_yield_parameters
end