Class: Webdrone::Text
- Inherits:
-
Object
- Object
- Webdrone::Text
- Defined in:
- lib/webdrone/text.rb
Instance Attribute Summary collapse
-
#a0 ⇒ Object
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.
11 12 13 |
# File 'lib/webdrone/text.rb', line 11 def initialize(a0) @a0 = a0 end |
Instance Attribute Details
#a0 ⇒ Object
Returns the value of attribute a0.
9 10 11 |
# File 'lib/webdrone/text.rb', line 9 def a0 @a0 end |
Instance Method Details
#page_title ⇒ Object
34 35 36 37 38 |
# File 'lib/webdrone/text.rb', line 34 def page_title @a0.driver.title rescue => exception Webdrone.report_error(@a0, exception, Kernel.caller_locations) end |