lib/shoes/swt/slot.rb in shoes-swt-4.0.0.pre2 vs lib/shoes/swt/slot.rb in shoes-swt-4.0.0.pre3

- old
+ new

@@ -24,15 +24,14 @@ # I decided to put this logic in the backend since the hiding is a backend # responsibility, although this is more DSL code # #904 #905 def update_visibility if dsl.hidden? - dsl.contents.each &:hide + dsl.contents.each(&:hide) else - dsl.contents.each &:show + dsl.contents.each(&:show) end end - end class Flow < Slot; end class Stack < Slot; end end end