Class: Skyline::Site
- Inherits:
-
Object
- Object
- Skyline::Site
- Includes:
- Comparable
- Defined in:
- app/models/skyline/site.rb
Class Method Summary collapse
Instance Method Summary collapse
- #<=>(other) ⇒ Object
- #named_scope_with_site_for(article_data_class) ⇒ Object
- #pages ⇒ Object
- #renderer(options = {}) ⇒ Object
- #root ⇒ Object
Class Method Details
.find_by_id(id) ⇒ Object
5 6 7 |
# File 'app/models/skyline/site.rb', line 5 def find_by_id(id) self.new end |
Instance Method Details
#<=>(other) ⇒ Object
26 27 28 |
# File 'app/models/skyline/site.rb', line 26 def <=>(other) other.class <=> self.class end |
#named_scope_with_site_for(article_data_class) ⇒ Object
22 23 24 |
# File 'app/models/skyline/site.rb', line 22 def named_scope_with_site_for(article_data_class) {} end |