Sha256: 17041a0729c2731cac8814b1e8e0eb70e89bde01da6f9b93dafeb4835a9bafaf
Contents?: true
Size: 359 Bytes
Versions: 1
Compression:
Stored size: 359 Bytes
Contents
class Stormy::ContentList attr_reader :items def initialize(app,items) @items = items.map do |item| Stormy::Content.new(app,item).render end end def self.fetch(app,category,options = {}) items = app.cache.content_list(category,options) do app.store.content_list(category,options) end self.new(app,items) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stormy-0.0.1 | lib/stormy/content_list.rb |