lib/teacup/layout.rb in teacup-2.3.0 vs lib/teacup/layout.rb in teacup-3.0.0

- old
+ new

@@ -156,10 +156,10 @@ if block_given? superview_chain << view begin # yield will not work if this is defined in the context of the # UIViewController `layout` class method. - instance_exec(view, &block) + yield view rescue NoMethodError => e NSLog("Exception executing layout(#{view.inspect}) in #{self.inspect} (stylesheet=#{stylesheet})") raise e end