Class: Lighthouse::Base
- Inherits:
-
ActiveResource::Base
- Object
- ActiveResource::Base
- Lighthouse::Base
- Defined in:
- lib/lighthouse.rb
Class Method Summary collapse
Class Method Details
.inherited(base) ⇒ Object
65 66 67 68 69 70 71 72 |
# File 'lib/lighthouse.rb', line 65 def self.inherited(base) Lighthouse.resources << base class << base attr_accessor :site_format end base.site_format = '%s' super end |