def get_view(element_id)
      element = get(element_id)
      if element.is_a?(Layout)
        element = element.view
      end
      element
    end
def get_view(element_id)
      element = get(element_id)
      if element.is_a?(Layout)
        element = element.view
      end
      element
    end
def get_view ( element_id ) element = get ( element_id ) if element . is_a? ( Layout ) element = element . view end element end
Just like `get`, but if `get` returns a Layout, this method returns the
 layout's view.
Just like get but if get returns a Layout this method returns the layout s view .