Benign ruby Download

lib/janeway/interpreters/tree_constructor.rb

Ruby loads a relative source moduleRuby rebinds a method with alias_method
SHA-2565b7ce8ec13652c26dc37042aa739f7ff353eb2ca83901593a01ed30c9f2f4566
MaleculeH₂(DbOs)

Evidence

Ruby loads a relative source module lines 1–9
1# frozen_string_literal: true
2
3require_relative 'base'
4
5module Janeway
⋯4 lines
English function-word token "the" lines 9–12
9:43… uch as #each has been called to
10 # construct the chain of interpreter objects to handle the query.
11 module TreeConstructor
12 # Fake inter …
Ruby rebinds a method with alias_method lines 13–22
13:36… do
14 def interpret(*)
15 value
16 end
17 alias_method :node, :interpret
18 end
19
20 # Return an interpreter for the given AST node.
21 # This interpreter forwards matcheed values to the next interpreter, or
22 # returns them if there …
English function-word token "that" lines 68–72
68:45… ues, but only after
69 # yielding to a block that returns a truthy value.
70 #
71 # @param expr [AST::Expression]
72 # @return [Interprt …

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.