Class: Vita::Highlight
- Inherits:
-
Struct
- Object
- Struct
- Vita::Highlight
- Defined in:
- lib/vita/link.rb
Instance Attribute Summary collapse
-
#match? ⇒ Object
Returns the value of attribute match?.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
Instance Attribute Details
#match? ⇒ Object
Returns the value of attribute match?
12 13 14 |
# File 'lib/vita/link.rb', line 12
def match?
@match?
end
|
#text ⇒ Object
Returns the value of attribute text
12 13 14 |
# File 'lib/vita/link.rb', line 12 def text @text end |
Instance Method Details
#empty? ⇒ Boolean
17 18 19 |
# File 'lib/vita/link.rb', line 17 def empty? text.empty? end |
#to_s ⇒ Object
13 14 15 |
# File 'lib/vita/link.rb', line 13 def to_s text end |