Class Benelux::MethodTimer
In: lib/benelux/packer.rb
Parent: MethodPacker

Methods

Public Instance methods

Creates a method definition (for an eval). The method is named +@meth+ and it calls +@methorig+.

The new method adds a Mark to the thread timeline before and after +@alias+ is called. It also adds a Range to the timeline based on the two marks.

This method executes the method definition created by generate_method. It calls @klass.module_eval with the modified line number (helpful for exceptions)

[Validate]