Registry / utility / aspector

aspector

JSON →
library0.14.0rbrubygemsunverified

Aspect-oriented programming library for Ruby.

gem install aspector
INSTALL
IMPORT
SIG · ASPECTOR
A
aspector
utilityrubyv0.14.0
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.

Aspector
require 'aspector'

Define an aspect that runs before a method

require 'aspector' class MyClass aspector do before :method do puts 'Before method' end end def method puts 'Method called' end end MyClass.new.method
Debug
Known issues
breakingAspector may not be compatible with Ruby 3.0+ due to changes in method handling.
fix
Check the gem's issue tracker for updates or consider alternatives like 'aspectr'.
affects: >= 0.14.0
Upgrade
Version history
0.14.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
14
OpenAI (training)
2
Meta
1
Resources
aspector — gem install aspector · libregistry