method

on_def

on_def(begin_line, *)
public

method test e.g. `def test_some_description` This event’s first argument gets the `ident` node containing the method name, which we have overridden to return the line number of the ident instead.