Class: Tenon::Styleguide
- Inherits:
-
Object
- Object
- Tenon::Styleguide
- Includes:
- ActiveModel::Model
- Defined in:
- app/models/tenon/styleguide.rb
Instance Attribute Summary collapse
-
#number ⇒ Object
Returns the value of attribute number.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Styleguide
constructor
tenon_content :content, i18n: true.
Constructor Details
#initialize(attributes = {}) ⇒ Styleguide
tenon_content :content, i18n: true
7 8 9 |
# File 'app/models/tenon/styleguide.rb', line 7 def initialize(attributes={}) super end |
Instance Attribute Details
#number ⇒ Object
Returns the value of attribute number.
4 5 6 |
# File 'app/models/tenon/styleguide.rb', line 4 def number @number end |
#text ⇒ Object
Returns the value of attribute text.
4 5 6 |
# File 'app/models/tenon/styleguide.rb', line 4 def text @text end |