Class: EmailHelper::EmailLink
- Defined in:
- lib/watirmark/cucumber/email_helper.rb
Instance Attribute Summary collapse
-
#href ⇒ Object
Returns the value of attribute href.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(doc) ⇒ EmailLink
constructor
A new instance of EmailLink.
Constructor Details
#initialize(doc) ⇒ EmailLink
Returns a new instance of EmailLink.
85 86 87 88 |
# File 'lib/watirmark/cucumber/email_helper.rb', line 85 def initialize(doc) @href = doc['href'] @text = doc.content end |
Instance Attribute Details
#href ⇒ Object
Returns the value of attribute href.
83 84 85 |
# File 'lib/watirmark/cucumber/email_helper.rb', line 83 def href @href end |
#text ⇒ Object
Returns the value of attribute text.
83 84 85 |
# File 'lib/watirmark/cucumber/email_helper.rb', line 83 def text @text end |