Class: Tenon::Styleguide

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Model
Defined in:
app/models/tenon/styleguide.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#numberObject

Returns the value of attribute number.



4
5
6
# File 'app/models/tenon/styleguide.rb', line 4

def number
  @number
end

#textObject

Returns the value of attribute text.



4
5
6
# File 'app/models/tenon/styleguide.rb', line 4

def text
  @text
end