lib/reterm/layout.rb
# Return boolean indicating if layout contains specified child
Return boolean indicating if layout contains specified child
Return boolean indicating if layout contains specified child
def contains?(child)
      children.any? { |c|
        (c.kind_of?(Layout) && c.contains?(child)) || c == child
      }
    end
def contains? ( child ) children . any? { | c | ( c . kind_of? ( Layout ) && c . contains? ( child ) ) || c == child } end
Return boolean indicating if layout contains specified child
Return boolean indicating if layout contains specified child
child
<not_specific>