Benign gem 1,127,699 installs Download

philiprehberger-memo 0.6.0

“Memoize methods with a simple decorator. Supports TTL expiration, LRU eviction, thread-safe per-instance caches, hit/miss stats, and proper…”

Ruby loads a relative source moduleRuby defines methods dynamically
SHA-25616aa94abbc504c98edcda419cd523f56c6fbb1d3e2c971ca1546243e781ec934
MaleculeH₂(DbOs)

Evidence

Ruby loads a relative source module memo.rb · lines 1–13
1# frozen_string_literal: true
2
3require_relative 'memo/version'
4require_relative 'memo/cache'
5require_relative 'memo/wrapper'
⋯8 lines
Ruby defines methods dynamically wrapper.rb · lines 20–23
20:19… ine_memoized_method(klass, method_name, original, opts)
21 klass.define_method(method_name) do |*args, **kwargs, &block|
22 @_memo_caches ||= {}
23 @_memo_caches[method_name] ||= Cache.n …

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.