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.
18 19 20 21 22 |
# File 'app/models/effective/style_guide.rb', line 18 def initialize(*args) super self.color = 'black' end |
Class Method Details
.column_defaults ⇒ Object
32 33 34 |
# File 'app/models/effective/style_guide.rb', line 32 def self.column_defaults {} end |
.columns ⇒ Object
28 29 30 |
# File 'app/models/effective/style_guide.rb', line 28 def self.columns @columns ||= [] end |
.has_attribute?(*args) ⇒ Boolean
36 37 38 |
# File 'app/models/effective/style_guide.rb', line 36 def self.has_attribute?(*args) false end |
Instance Method Details
#id ⇒ Object
24 25 26 |
# File 'app/models/effective/style_guide.rb', line 24 def id object_id end |
#static_text ⇒ Object
40 41 42 |
# File 'app/models/effective/style_guide.rb', line 40 def static_text 'some static text' end |