Class: Html2rss::AttributePostProcessors::ParseUri

Inherits:
Object
  • Object
show all
Defined in:
lib/html2rss/attribute_post_processors/parse_uri.rb

Instance Method Summary collapse

Constructor Details

#initialize(value, _options, _item) ⇒ ParseUri

Returns a new instance of ParseUri.



4
5
6
# File 'lib/html2rss/attribute_post_processors/parse_uri.rb', line 4

def initialize(value, _options, _item)
  @value = value
end

Instance Method Details

#getObject



8
9
10
# File 'lib/html2rss/attribute_post_processors/parse_uri.rb', line 8

def get
  URI(@value).to_s
end