mirror of
https://github.com/Shopify/liquid.git
synced 2026-10-02 16:45:12 -07:00
fix next if /^__.+__$/ to /^(__.+__|object_id)$/, since object_id will complain if it is removed
This commit is contained in:
@@ -135,7 +135,7 @@ module Breakpoint
|
||||
end
|
||||
|
||||
instance_methods.each do |method|
|
||||
next if method[/^__.+__$/]
|
||||
next if method[/^(__.+__|object_id)$/]
|
||||
undef_method method
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user