lib/page_ez/page.rb in page_ez-0.1.0 vs lib/page_ez/page.rb in page_ez-0.2.0
- old
+ new
@@ -140,9 +140,10 @@
Class.new(superclass || self).tap do |klass|
visitor.begin_block_evaluation
klass.macro_registrar = {}
klass.class_eval(&block)
visitor.end_block_evaluation
+ self.nested_macro = false
end
elsif superclass
superclass
else
Class.new(BasicObject) do