Add bin and edit workflow
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 9s

This commit is contained in:
2026-09-16 13:11:16 -06:00
parent c8ac4fcae5
commit 4cee170d66
17576 changed files with 895740 additions and 2 deletions
@@ -0,0 +1,13 @@
## Class#descendants
require 'facets/class/descendants'
The `Class#descendants` method returns a list of classes that are subclasses
of a class.
a = Class.new
b = Class.new(a)
c = Class.new(b)
a.descendants.assert == [b,c]
@@ -0,0 +1,11 @@
## Class#to_proc
require 'facets/class/to_proc'
The `Class#to_proc` method provides a convenient way to create new
instances from a set of initialization data.
person = Struct.new(:name)
people = ["joe"].map(&person)
people[0].name.assert == "joe"