mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-20 03:10:39 -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
|
end
|
||||||
|
|
||||||
instance_methods.each do |method|
|
instance_methods.each do |method|
|
||||||
next if method[/^__.+__$/]
|
next if method[/^(__.+__|object_id)$/]
|
||||||
undef_method method
|
undef_method method
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user