Skip to content

Commit

Permalink
Do not try to make classes into kits
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldrapper committed Feb 13, 2025
1 parent f89746b commit a33f0b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/phlex/kit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def const_added(name)
end
end
when Module
constant.extend(Phlex::Kit)
constant.extend(Phlex::Kit) unless Class === constant
end

super
Expand Down

0 comments on commit a33f0b6

Please sign in to comment.