Class: Policygen::Css::Classes

Inherits:
Object
  • Object
show all
Defined in:
lib/policygen/css/classes.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeClasses

Returns a new instance of Classes.



15
16
17
18
19
20
21
22
23
24
25
26
# File 'lib/policygen/css/classes.rb', line 15

def initialize
  @container_class = "policygen-container"
  @h1_class = "policygen-h1"
  @h2_class = "policygen-h2"
  @h3_class = "policygen-h3"
  @section_class = "policygen-section"
  @body_class = "policygen-body-text"
  @ul_class = "policygen-ul"
  @ol_class = "policygen-ol"
  @bold_class = "policygen-bold"
  @link_class = "policygen-link"
end

Instance Attribute Details

#body_classObject (readonly)

Returns the value of attribute body_class.



4
5
6
# File 'lib/policygen/css/classes.rb', line 4

def body_class
  @body_class
end

#bold_classObject (readonly)

Returns the value of attribute bold_class.



4
5
6
# File 'lib/policygen/css/classes.rb', line 4

def bold_class
  @bold_class
end

#container_classObject (readonly)

Returns the value of attribute container_class.



4
5
6
# File 'lib/policygen/css/classes.rb', line 4

def container_class
  @container_class
end

#h1_classObject (readonly)

Returns the value of attribute h1_class.



4
5
6
# File 'lib/policygen/css/classes.rb', line 4

def h1_class
  @h1_class
end

#h2_classObject (readonly)

Returns the value of attribute h2_class.



4
5
6
# File 'lib/policygen/css/classes.rb', line 4

def h2_class
  @h2_class
end

#h3_classObject (readonly)

Returns the value of attribute h3_class.



4
5
6
# File 'lib/policygen/css/classes.rb', line 4

def h3_class
  @h3_class
end

Returns the value of attribute link_class.



4
5
6
# File 'lib/policygen/css/classes.rb', line 4

def link_class
  @link_class
end

#ol_classObject (readonly)

Returns the value of attribute ol_class.



4
5
6
# File 'lib/policygen/css/classes.rb', line 4

def ol_class
  @ol_class
end

#section_classObject (readonly)

Returns the value of attribute section_class.



4
5
6
# File 'lib/policygen/css/classes.rb', line 4

def section_class
  @section_class
end

#ul_classObject (readonly)

Returns the value of attribute ul_class.



4
5
6
# File 'lib/policygen/css/classes.rb', line 4

def ul_class
  @ul_class
end