MonkeyLens

Ruby runtime auditing

Make invisible
monkey patches visible.

MonkeyLens records method ownership, source locations, signatures, visibility, and ancestor order—then blocks runtime drift before it reaches production.

MonkeyLens magnifying lens inspecting a Ruby runtime
$ monkeylens check

MonkeyLens PASS
no runtime drift detected

Runtime evidence

Audit the method table Ruby actually uses.

01

Ownership drift

Detect when a reopened class, include, or prepend changes the implementation Ruby dispatches.

02

Signature drift

Compare arity, parameters, visibility, source location, and native-versus-Ruby implementation.

03

CI enforcement

Commit an approved baseline and fail builds when high-impact runtime changes appear.

Get started

One baseline. One check.

gem install monkey_lens
monkeylens capture
monkeylens check