Class: Webdrone::Text
- Inherits:
-
Object
- Object
- Webdrone::Text
- Defined in:
- lib/webdrone/logg.rb,
lib/webdrone/text.rb
Instance Attribute Summary collapse
-
#a0 ⇒ Object
readonly
Returns the value of attribute a0.
Instance Method Summary collapse
-
#initialize(a0) ⇒ Text
constructor
A new instance of Text.
- #page_title ⇒ Object
Constructor Details
#initialize(a0) ⇒ Text
Returns a new instance of Text.
13 14 15 |
# File 'lib/webdrone/text.rb', line 13 def initialize(a0) @a0 = a0 end |
Instance Attribute Details
#a0 ⇒ Object (readonly)
Returns the value of attribute a0.
11 12 13 |
# File 'lib/webdrone/text.rb', line 11 def a0 @a0 end |
Instance Method Details
#page_title ⇒ Object
36 37 38 39 40 |
# File 'lib/webdrone/text.rb', line 36 def page_title @a0.driver.title rescue StandardError => error Webdrone.report_error(@a0, error) end |