Module: GozapRss
- Defined in:
- lib/gozap_rss/chouti_rss.rb,
lib/gozap_rss.rb,
lib/gozap_rss/version.rb
Overview
Defined Under Namespace
Classes: ChoutiRss, ChoutiRssBase, ChoutiRssItem, Error, GozapHttpReceiveError, GozapHttpStatusError, GozapHttpTimeOutError
Constant Summary
collapse
- VERSION =
"0.0.7"
Class Method Summary
collapse
Class Method Details
.data_dir(path) ⇒ Object
23
24
25
26
27
28
29
30
|
# File 'lib/gozap_rss.rb', line 23
def data_dir(path)
if datadir = Gem.datadir("gozap_rss")
File.join(datadir, path)
else
""
end
end
|
.logger ⇒ Object
32
33
34
|
# File 'lib/gozap_rss.rb', line 32
def logger
@@logger ||= Logger.new(STDOUT)
end
|
.logger=(logger) ⇒ Object
36
37
38
|
# File 'lib/gozap_rss.rb', line 36
def logger=(logger)
@@logger = logger
end
|