summaryrefslogtreecommitdiff
path: root/lib/dsl.rb
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-14 10:47:55 +0200
committerPaul Buetow <paul@buetow.org>2026-03-14 10:47:55 +0200
commit8a641ff347d0584ea1ddc16a6ef81a8c16ab172d (patch)
tree095dc715e4df2a970188e3070e7d22464401e1d3 /lib/dsl.rb
parent818ed50e2a54b40ccf7a7771bebe0312dc01a8b5 (diff)
Use active DSL registry for Resource.find
Diffstat (limited to 'lib/dsl.rb')
-rw-r--r--lib/dsl.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dsl.rb b/lib/dsl.rb
index 57bbef3..0414050 100644
--- a/lib/dsl.rb
+++ b/lib/dsl.rb
@@ -26,6 +26,8 @@ module RCM
@@objs = {}
end
+ def self.object(id) = @@objs[id]
+
reset!
include Config