Benign go Download

lib/repl_type_completor/type_analyzer.rb

Ruby dynamically invokes a method with sendRuby dynamically resolves a constant
SHA-25663315e3b8564cd3077f8ad022300eaf683d8894ec7ed3ddc9ef9ba30769be04e
MaleculeH₂(DbOs)

Evidence

Ruby loads a relative source module lines 1–11
1# frozen_string_literal: true
2
3require 'set'
4require_relative 'types'
5require_relative 'scope'
6require 'prism'
⋯5 lines
Ruby dynamically invokes a method with send lines 43–49
43:21… uate_#{node.type}"
44 if respond_to? method
45 result = send method, node, scope
46 else
47 result = Types::NIL
48 end
49 @dig_targets.resolve result, scope if @dig_targets.t …
English function-word token "the" lines 233–238
233:55… overridden like `tap{p it; it=1}`.
234 # Use the name `_1` instead of `it` to avoid conflict.
235 scope['_1'] || Types::NIL
236 end
237
238 def e …
Ruby dynamically resolves a constant lines 666–670
666:30… ent_module.is_a?(Module) || parent_module.nil?)
667 value = parent_module.const_get name if parent_module&.const_defined? name
668 unless value
669 value_type = scope[name]
670 valu …

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.