Class: Html2rss::AutoSource::Scraper::SemanticHtml::AnchorSelector::AnchorFacts

Inherits:
Data
  • Object
show all
Defined in:
lib/html2rss/auto_source/scraper/semantic_html/anchor_selector.rb

Overview

rubocop:disable Metrics/ClassLength

Instance Attribute Summary collapse

Instance Attribute Details

#anchorObject (readonly)

Returns the value of attribute anchor

Returns:

  • (Object)

    the current value of anchor



15
16
17
# File 'lib/html2rss/auto_source/scraper/semantic_html/anchor_selector.rb', line 15

def anchor
  @anchor
end

#content_like_destinationObject (readonly)

Returns the value of attribute content_like_destination

Returns:

  • (Object)

    the current value of content_like_destination



15
16
17
# File 'lib/html2rss/auto_source/scraper/semantic_html/anchor_selector.rb', line 15

def content_like_destination
  @content_like_destination
end

#destinationObject (readonly)

Returns the value of attribute destination

Returns:

  • (Object)

    the current value of destination



15
16
17
# File 'lib/html2rss/auto_source/scraper/semantic_html/anchor_selector.rb', line 15

def destination
  @destination
end

#heading_anchorObject (readonly)

Returns the value of attribute heading_anchor

Returns:

  • (Object)

    the current value of heading_anchor



15
16
17
# File 'lib/html2rss/auto_source/scraper/semantic_html/anchor_selector.rb', line 15

def heading_anchor
  @heading_anchor
end

#heading_text_matchObject (readonly)

Returns the value of attribute heading_text_match

Returns:

  • (Object)

    the current value of heading_text_match



15
16
17
# File 'lib/html2rss/auto_source/scraper/semantic_html/anchor_selector.rb', line 15

def heading_text_match
  @heading_text_match
end

#meaningful_textObject (readonly)

Returns the value of attribute meaningful_text

Returns:

  • (Object)

    the current value of meaningful_text



15
16
17
# File 'lib/html2rss/auto_source/scraper/semantic_html/anchor_selector.rb', line 15

def meaningful_text
  @meaningful_text
end

#scoreObject (readonly)

Returns the value of attribute score

Returns:

  • (Object)

    the current value of score



15
16
17
# File 'lib/html2rss/auto_source/scraper/semantic_html/anchor_selector.rb', line 15

def score
  @score
end

#segmentsObject (readonly)

Returns the value of attribute segments

Returns:

  • (Object)

    the current value of segments



15
16
17
# File 'lib/html2rss/auto_source/scraper/semantic_html/anchor_selector.rb', line 15

def segments
  @segments
end

#textObject (readonly)

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



15
16
17
# File 'lib/html2rss/auto_source/scraper/semantic_html/anchor_selector.rb', line 15

def text
  @text
end

#urlObject (readonly)

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



15
16
17
# File 'lib/html2rss/auto_source/scraper/semantic_html/anchor_selector.rb', line 15

def url
  @url
end