Files
news.gitea.happylizard.me/bin/gems/facets-3.1.0/demo/standard/basic_object.rdoc
T
pizza2d1 4cee170d66
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 9s
Add bin and edit workflow
2026-09-16 13:11:16 -06:00

23 lines
317 B
Plaintext

== BasicObject
require 'facets/basicobject'
o = Class.new(BasicObject).new
Should ignore new kernel methods.
Kernel.module_eval { def xxx ; end }
expect NoMethodError do
o.xxx
end
Should ignore new object methods.
Object.class_eval { def yyy ; end }
expect NoMethodError do
o.yyy
end