Sha256: 48bb4b5282944087cbd16fe2960050ff258557833433f59dbd65a29e9573c5ea

Contents?: true

Size: 214 Bytes

Versions: 8

Compression:

Stored size: 214 Bytes

Contents

module Html2rss
  module AttributePostProcessors
    class ParseUri
      def initialize(value, _options, _item)
        @value = value
      end

      def get
        URI(@value).to_s
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
html2rss-0.3.3 lib/html2rss/attribute_post_processors/parse_uri.rb
html2rss-0.3.2 lib/html2rss/attribute_post_processors/parse_uri.rb
html2rss-0.3.1 lib/html2rss/attribute_post_processors/parse_uri.rb
html2rss-0.3.0 lib/html2rss/attribute_post_processors/parse_uri.rb
html2rss-0.2.2 lib/html2rss/attribute_post_processors/parse_uri.rb
html2rss-0.2.1 lib/html2rss/attribute_post_processors/parse_uri.rb
html2rss-0.2.0 lib/html2rss/attribute_post_processors/parse_uri.rb
html2rss-0.1.0 lib/html2rss/attribute_post_processors/parse_uri.rb