method
on_def
v8.0.0 -
Show latest stable
- Class:
Rails::TestUnit::TestParser
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.