lib/docrb/lib/docrb/ruby_parser.rb
def method_to_meta(node)
      {
        type: :def,
        name: node.children.first,
        args: parse_method_args(node),
        start_at: node.loc.keyword.line,
        end_at: node.loc.end.line
      }
    end
# Generates metadata for a given method, such as its name, arguments,
# and boundaries.
#
# node - Method node being processed
#
# Returns a Hash containing metadata about the provided method.
Generates metadata for a given method, such as its name, arguments,
and boundaries.

Method node being processed

Returns a Hash containing metadata about the provided method.
Generates metadata for a given method such as its name arguments and boundaries . Method node being processed Returns a Hash containing metadata about the provided method .
def method_to_meta(node)
      {
        type: :def,
        name: node.children.first,
        args: parse_method_args(node),
        start_at: node.loc.keyword.line,
        end_at: node.loc.end.line
      }
    end
def method_to_meta ( node ) { type : :def , name : node . children . first , args : parse_method_args ( node ) , start_at : node . loc . keyword . line , end_at : node . loc . end . line } end
Generates metadata for a given method, such as its name, arguments,
and boundaries.
Generates metadata for a given method such as its name arguments and boundaries .
node