Class: Html2rss::Config::Selectors::Selector

Inherits:
Struct
  • Object
show all
Defined in:
lib/html2rss/config/selectors.rb

Overview

Struct to represent a selector with associated attributes for extraction and processing.

Instance Attribute Summary collapse

Instance Attribute Details

#attributeObject

Returns the value of attribute attribute

Returns:

  • (Object)

    the current value of attribute



11
12
13
# File 'lib/html2rss/config/selectors.rb', line 11

def attribute
  @attribute
end

#extractorObject

Returns the value of attribute extractor

Returns:

  • (Object)

    the current value of extractor



11
12
13
# File 'lib/html2rss/config/selectors.rb', line 11

def extractor
  @extractor
end

#orderObject

Returns the value of attribute order

Returns:

  • (Object)

    the current value of order



11
12
13
# File 'lib/html2rss/config/selectors.rb', line 11

def order
  @order
end

#post_processObject

Returns the value of attribute post_process

Returns:

  • (Object)

    the current value of post_process



11
12
13
# File 'lib/html2rss/config/selectors.rb', line 11

def post_process
  @post_process
end

#selectorObject

Returns the value of attribute selector

Returns:

  • (Object)

    the current value of selector



11
12
13
# File 'lib/html2rss/config/selectors.rb', line 11

def selector
  @selector
end

#staticObject

Returns the value of attribute static

Returns:

  • (Object)

    the current value of static



11
12
13
# File 'lib/html2rss/config/selectors.rb', line 11

def static
  @static
end