Class: Watir::Container::TableRow
Instance Attribute Summary collapse
-
#how ⇒ Object
readonly
Returns the value of attribute how.
-
#table ⇒ Object
readonly
Returns the value of attribute table.
-
#what ⇒ Object
readonly
Returns the value of attribute what.
Instance Method Summary collapse
- #[](index) ⇒ Object
- #column_count ⇒ Object
- #each ⇒ Object
-
#initialize(scripter, how, what, table = nil) ⇒ TableRow
constructor
A new instance of TableRow.
- #tag ⇒ Object
Constructor Details
#initialize(scripter, how, what, table = nil) ⇒ TableRow
Returns a new instance of TableRow.
337 338 339 340 341 342 |
# File 'lib/safariwatir.rb', line 337 def initialize(scripter, how, what, table = nil) @scripter = scripter @how = how @what = what @table = table end |
Instance Attribute Details
#how ⇒ Object (readonly)
Returns the value of attribute how.
344 345 346 |
# File 'lib/safariwatir.rb', line 344 def how @how end |
#table ⇒ Object (readonly)
Returns the value of attribute table.
344 345 346 |
# File 'lib/safariwatir.rb', line 344 def table @table end |
#what ⇒ Object (readonly)
Returns the value of attribute what.
344 345 346 |
# File 'lib/safariwatir.rb', line 344 def what @what end |
Instance Method Details
#[](index) ⇒ Object
350 351 352 |
# File 'lib/safariwatir.rb', line 350 def [](index) TableCell.new(@scripter, :index, index, self) end |
#column_count ⇒ Object
354 355 356 |
# File 'lib/safariwatir.rb', line 354 def column_count # TODO end |
#each ⇒ Object
346 347 348 |
# File 'lib/safariwatir.rb', line 346 def each # TODO end |
#tag ⇒ Object
358 |
# File 'lib/safariwatir.rb', line 358 def tag; "TR"; end |