Module: Vapir::Table

Extended by:
ElementHelper
Includes:
HasRowsAndColumns
Defined in:
lib/vapir-common/elements/elements.rb

Class Method Summary collapse

Methods included from ElementHelper

add_specifier, container_collection_method, container_single_method, included

Methods included from ElementClassAndModuleMethods

#add_container_method_extra_args, #all_dom_attr_aliases, #all_dom_attrs, #class_array_append, #class_array_get, #class_hash_get, #class_hash_merge, #container_collection_methods, #container_method_extra_args, #container_single_methods, #default_how, #dom_attr, #dom_attr_locate_alias, #dom_function, #dom_setter, #element_collection, #factory, #inspect_these, #inspect_this_if, #parent_element_module, #set_or_get_class_var, #specifiers

Methods included from HasRowsAndColumns

#[], #cell, #cells, #column_count, #column_texts_at, #each_row, #row, #row_count, #row_count_excluding_nested_tables, #row_texts_at, #to_a, #to_hashes

Class Method Details

.create_from_element(container, element) ⇒ Object



862
863
864
865
866
867
# File 'lib/vapir-common/elements/elements.rb', line 862

def self.create_from_element(container, element)
  if config.warn_deprecated
    Kernel.warn_with_caller "DEPRECATION WARNING: create_from_element is deprecated. Please use (element).parent_table (element being the second argument to this function)"
  end
  element.parent_table
end