Sha256: 540d574847095c2b821b28c6c1051290d51e279ec6df7cae26db468c3fe51297
Contents?: true
Size: 449 Bytes
Versions: 5
Compression:
Stored size: 449 Bytes
Contents
class Skyline::Site include Comparable class << self def find_by_id(id) self.new end end def root Skyline::Page.find_by_parent_id(nil) end def pages Skyline::Page end def renderer(options = {}) Skyline::Rendering::Renderer.new(options.merge(:site => self)) end def named_scope_with_site_for(article_data_class) {} end def <=>(other) other.class <=> self.class end end
Version data entries
5 entries across 5 versions & 2 rubygems