From 3417edeaabcb2e23bb0d13d984e353385d183f82 Mon Sep 17 00:00:00 2001 From: lnu Date: Tue, 5 Apr 2005 14:24:48 +0000 Subject: git-svn-id: svn+ssh://svn.gna.org/svn/feed2imap/trunk/feed2imap@10 f70e237a-67f3-0310-a06c-d2b8a7116972 --- lib/feed2imap/config.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/feed2imap/config.rb') diff --git a/lib/feed2imap/config.rb b/lib/feed2imap/config.rb index 8129fd2..002db3e 100644 --- a/lib/feed2imap/config.rb +++ b/lib/feed2imap/config.rb @@ -26,13 +26,14 @@ DEFCACHE = ENV['HOME'] + '/.feed2imap.cache' # Feed2imap configuration class F2IConfig - attr_reader :imap_accounts, :cache, :feeds + attr_reader :imap_accounts, :cache, :feeds, :dumpdir # Load the configuration from the IO stream # TODO should do some sanity check on the data read. def initialize(io) @conf = YAML::load(io) @cache = @conf['cache'] || DEFCACHE + @dumpdir = @conf['dumpdir'] || nil @conf['feeds'] ||= [] @feeds = [] @imap_accounts = ImapAccounts::new -- cgit v1.2.3-70-g09d2