Sha256: 5419c579466522ef760f57f36011724848e1bc0777f0902b0262650643bbd40d
Contents?: true
Size: 339 Bytes
Versions: 1
Compression:
Stored size: 339 Bytes
Contents
require 'yaml' module Feed2Mail class Config attr_reader :feeds attr_accessor :verbose, :hist_file def initialize @feeds = [] end def load(file = CONFIG_PATH) @rc = YAML.load_file(File.expand_path(file)) @rc['feeds'].each do |f| @feeds << Feed.new(f['uri']) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
feed2mail-0.0.1 | lib/feed2mail/config.rb |