Sha256: 5992bbdbc8d72371321c8056a83d3664442d89dc4e06f38b34332dbb9c30a539
Contents?: true
Size: 332 Bytes
Versions: 5
Compression:
Stored size: 332 Bytes
Contents
require 'html2rss/config' require 'html2rss/feed_builder' require 'html2rss/version' require 'yaml' module Html2rss def self.feed_from_yaml_config(file, name) config = Config.new(YAML.load(File.open(file)).freeze, name) feed(config) end def self.feed(config) feed = FeedBuilder.new config feed.rss end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
html2rss-0.2.2 | lib/html2rss.rb |
html2rss-0.2.1 | lib/html2rss.rb |
html2rss-0.2.0 | lib/html2rss.rb |
html2rss-0.1.0 | lib/html2rss.rb |
html2rss-0.0.1 | lib/html2rss.rb |