lib/rabbit/element/container-element.rb in rabbit-2.0.7 vs lib/rabbit/element/container-element.rb in rabbit-2.0.8

- old
+ new

@@ -233,9 +233,13 @@ self_info = "<#{self.class.name}>" end self_info + (elem_info.empty? ? "" : "\n") + elem_info end + def have_tag?(name) + @elements.any? {|element| element.have_tag?(name)} + end + def have_wait_tag? @elements.any? {|element| element.have_wait_tag?} end def [](name_or_index)