struct
LinkFollowability::Anchor
- LinkFollowability::Anchor
- Struct
- Value
- Object
Overview
One anchor found in an HTML document.
Defined in:
link_followability.crConstructors
Instance Method Summary
- #clone
- #copy_with(href _href = @href, rel _rel = @rel, index _index = @index)
-
#hints : Array(String)
Tokens from NOT_FOLLOWED_TOKENS present on this anchor, in source order.
- #href : String
- #index : Int32
- #rel : Array(String)
-
#rel_followed? : Bool
True when no nofollow/ugc/sponsored token is present on the anchor itself.
Constructor Detail
Instance Method Detail
def hints : Array(String)
#
Tokens from NOT_FOLLOWED_TOKENS present on this anchor, in source order.
def rel_followed? : Bool
#
True when no nofollow/ugc/sponsored token is present on the anchor itself.