Registry / logging / betterp

betterp

JSON →
library0.1.10rbrubygemsunverified

Overwrites Kernel#p to provide output with file path, line numbers, and profiling.

gem install betterp
INSTALL
IMPORT
SIG · BETTERP
B
betterp
loggingrubyv0.1.10
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Betterp
require 'betterp'

Use enhanced p with file and line info

require 'betterp' p 'Hello, world!'
Debug
Known issues
gotchaOverwrites Kernel#p globally, which may affect other code expecting standard behavior.
fix
Use only in development or debugging contexts; avoid in production.
affects: >= 0.1.0
Upgrade
Version history
0.1.10latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
33 hits · last 30 days
node
30
Resources
betterp — gem install betterp · libregistry