Benign ruby Download

lib/ruflet_ui.rb

Ruby dynamically resolves a constantRuby loads a relative source module
SHA-256f8a38f98e28169468cb3623467366776bd3c9c86dc41a7176c0cfd6ea5c5e3bc
MaleculeH₂(DbOs)

Evidence

Ruby loads a relative source module lines 1–7
1# frozen_string_literal: true
2
3require "ruflet_protocol"
4require_relative "ruflet_ui/ruflet/colors"
5require_relative "ruflet_ui/ruflet/icon_data"
6require_relative "ruflet_ui/ruflet/types/text_style"
7re …
English function-word token "the" lines 17–22
17:57… nner"
18
19module Ruflet
20 # Icon tables are large (the material set alone parses a ~234KB map and
21 # defines thousands of constants) but the common `icon("home")` path passes
22 # the name stra …
Ruby dynamically resolves a constant lines 89–100
89:21… .random
90 end
91
92 def const_missing(name)
93 return @icon_module.const_get(name) if @icon_module.const_defined?(name, false)
94
95 super
⋯5 lines
English function-word token "this" lines 168–173
168:3… def control_delegate
169 Ruflet::DSL
170 end
171
172 # This is Kernel, so it sees every missing method in the process, including
173 # ones Ruby itself calls …
English function-word token "for" lines 173–175
173:42… and expects to raise. Fabricating a
174 # control for those hands internals an object of the wrong type — a
175 # Process::Waiter receiving one fails …

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.