Module: Reddit
- Defined in:
- lib/reddit.rb
Defined Under Namespace
Constant Summary collapse
- VERSION =
'0.2.0'
- DefaultOptions =
{ :page => 0 }
Class Method Summary collapse
Class Method Details
.read(section, options = {}) ⇒ Object
17 18 19 20 21 |
# File 'lib/reddit.rb', line 17 def self.read(section, ={}) conf = Reddit::DefaultOptions.update reader = Reader.new section, conf[:page] reader.links end |