Class: Precious::Views::Index
- Inherits:
-
Layout
- Object
- Mustache
- Layout
- Precious::Views::Index
show all
- Defined in:
- lib/gollum/frontend/views/index.rb
Instance Attribute Summary collapse
Attributes inherited from Layout
#name
Instance Method Summary
collapse
Methods inherited from Layout
#base_path, #escaped_name, #rtfm_root
Instance Attribute Details
#roots ⇒ Object
Returns the value of attribute roots.
6
7
8
|
# File 'lib/gollum/frontend/views/index.rb', line 6
def roots
@roots
end
|
Instance Method Details
#has_roots ⇒ Object
12
13
14
|
# File 'lib/gollum/frontend/views/index.rb', line 12
def has_roots
!@roots.empty?
end
|
#no_roots ⇒ Object
16
17
18
|
# File 'lib/gollum/frontend/views/index.rb', line 16
def no_roots
@roots.empty?
end
|
#title ⇒ Object
8
9
10
|
# File 'lib/gollum/frontend/views/index.rb', line 8
def title
"Index"
end
|