Class: GreenPepper::HtmlContext
- Inherits:
-
ExampleContext
- Object
- ExampleContext
- GreenPepper::HtmlContext
- Defined in:
- lib/greenpepper/context/htmlcontext.rb
Instance Attribute Summary collapse
-
#first_table_index ⇒ Object
Returns the value of attribute first_table_index.
-
#nb_table ⇒ Object
Returns the value of attribute nb_table.
Attributes inherited from ExampleContext
Instance Method Summary collapse
-
#initialize(index = 0, first_table_index = 0, nb_table = 1) ⇒ HtmlContext
constructor
A new instance of HtmlContext.
Constructor Details
#initialize(index = 0, first_table_index = 0, nb_table = 1) ⇒ HtmlContext
Returns a new instance of HtmlContext.
19 20 21 22 23 |
# File 'lib/greenpepper/context/htmlcontext.rb', line 19 def initialize(index = 0, first_table_index = 0, nb_table = 1) super(index) @first_table_index = first_table_index @nb_table = nb_table end |
Instance Attribute Details
#first_table_index ⇒ Object
Returns the value of attribute first_table_index.
17 18 19 |
# File 'lib/greenpepper/context/htmlcontext.rb', line 17 def first_table_index @first_table_index end |
#nb_table ⇒ Object
Returns the value of attribute nb_table.
17 18 19 |
# File 'lib/greenpepper/context/htmlcontext.rb', line 17 def nb_table @nb_table end |