Skip to content

Commit

Permalink
Remove __element_method__
Browse files Browse the repository at this point in the history
This was used by the compiler before, but is no longer in use.
  • Loading branch information
joeldrapper committed Feb 4, 2025
1 parent db29f67 commit 318a861
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions lib/phlex/sgml.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,6 @@ def new(*a, **k, &block)
super
end
end

def __element_method__?(method_name)
if instance_methods.include?(method_name)
owner = instance_method(method_name).owner

if Phlex::SGML::Elements === owner && owner.__registered_elements__[method_name]
true
else
false
end
else
false
end
end
end

def view_template
Expand Down

0 comments on commit 318a861

Please sign in to comment.