Class: Html2rss::Item::Context

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

Overview

A context instance is passed to Item Extractors.

Instance Attribute Summary collapse

Instance Attribute Details

#configObject

Returns the value of attribute config

Returns:

  • (Object)

    the current value of config



15
16
17
# File 'lib/html2rss/item.rb', line 15

def config
  @config
end

#itemObject

Returns the value of attribute item

Returns:

  • (Object)

    the current value of item



15
16
17
# File 'lib/html2rss/item.rb', line 15

def item
  @item
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



15
16
17
# File 'lib/html2rss/item.rb', line 15

def options
  @options
end