Class: Effective::StyleGuide
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Effective::StyleGuide
- Defined in:
- app/models/effective/style_guide.rb
Constant Summary collapse
- ATTRIBUTES =
[ :id, :title, :email, :password, :number, :range, :category, :content, :phone, :fax, :cell, :url, :color, :option1, :option2, :option3, :details, :archived, :drink, :food, :price, :updated_at, :publish_on, :static_text, :start_at, :end_at, :date, :time ]
Class Method Summary collapse
Instance Method Summary collapse
- #id ⇒ Object
-
#initialize(*args) ⇒ StyleGuide
constructor
A new instance of StyleGuide.
- #static_text ⇒ Object
Constructor Details
#initialize(*args) ⇒ StyleGuide
Returns a new instance of StyleGuide.
15 16 17 18 19 |
# File 'app/models/effective/style_guide.rb', line 15 def initialize(*args) super self.color = 'black' end |
Class Method Details
.column_defaults ⇒ Object
29 30 31 |
# File 'app/models/effective/style_guide.rb', line 29 def self.column_defaults {} end |
.columns ⇒ Object
25 26 27 |
# File 'app/models/effective/style_guide.rb', line 25 def self.columns @columns ||= [] end |
.has_attribute?(*args) ⇒ Boolean
33 34 35 |
# File 'app/models/effective/style_guide.rb', line 33 def self.has_attribute?(*args) false end |
Instance Method Details
#id ⇒ Object
21 22 23 |
# File 'app/models/effective/style_guide.rb', line 21 def id object_id end |
#static_text ⇒ Object
37 38 39 |
# File 'app/models/effective/style_guide.rb', line 37 def static_text 'some static text' end |