From eab1e8e426a2ef093d7c60ba6f66da5f61a9c763 Mon Sep 17 00:00:00 2001 From: Joel Drapper Date: Thu, 3 Oct 2024 16:54:06 +0100 Subject: [PATCH] Update sgml.rb --- lib/phlex/sgml.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/phlex/sgml.rb b/lib/phlex/sgml.rb index 493e0daa..ec501fcd 100644 --- a/lib/phlex/sgml.rb +++ b/lib/phlex/sgml.rb @@ -578,7 +578,7 @@ def __styles__(styles) end end - def self.method_added(method_name) + private_class_method def self.method_added(method_name) if method_name == :view_template location = instance_method(method_name).source_location[0]