lib/celerity/elements/table.rb in celerity-0.8.0 vs lib/celerity/elements/table.rb in celerity-0.8.1
- old
+ new
@@ -20,14 +20,9 @@
DEFAULT_HOW = :id
def locate
super
if @object
-
- unless @object.kind_of?(HtmlUnit::Html::HtmlTable)
- raise TypeError, "expected HtmlTable, got #{@object.class}"
- end
-
@rows = @object.getRows
@cells = []
@rows.each do |row|
row.getCells.each do |c|
@cells << c
\ No newline at end of file