Class: WebUnit::BaseDomWalker
Instance Attribute Summary collapse
-
#cur_path ⇒ Object
readonly
Returns the value of attribute cur_path.
-
#doc ⇒ Object
readonly
Returns the value of attribute doc.
Instance Method Summary collapse
- #cur_value ⇒ Object
-
#initialize ⇒ BaseDomWalker
constructor
A new instance of BaseDomWalker.
Constructor Details
#initialize ⇒ BaseDomWalker
Returns a new instance of BaseDomWalker.
11 12 13 |
# File 'lib/webunit/domwalker.rb', line 11 def initialize() @cur_path = '/' end |
Instance Attribute Details
#cur_path ⇒ Object (readonly)
Returns the value of attribute cur_path.
9 10 11 |
# File 'lib/webunit/domwalker.rb', line 9 def cur_path @cur_path end |
#doc ⇒ Object (readonly)
Returns the value of attribute doc.
9 10 11 |
# File 'lib/webunit/domwalker.rb', line 9 def doc @doc end |
Instance Method Details
#cur_value ⇒ Object
15 16 17 |
# File 'lib/webunit/domwalker.rb', line 15 def cur_value cur_values.join end |