Class: Precious::Views::Layout

Inherits:
Mustache
  • Object
show all
Includes:
Rack::Utils
Defined in:
lib/gollum/frontend/views/layout.rb

Direct Known Subclasses

Error, Index, Page, Pages

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



9
10
11
# File 'lib/gollum/frontend/views/layout.rb', line 9

def name
  @name
end

Instance Method Details

#base_pathObject



19
20
21
# File 'lib/gollum/frontend/views/layout.rb', line 19

def base_path
  @base_path
end

#escaped_nameObject



11
12
13
# File 'lib/gollum/frontend/views/layout.rb', line 11

def escaped_name
  CGI.escape(@name)
end

#rtfm_rootObject



23
24
25
# File 'lib/gollum/frontend/views/layout.rb', line 23

def rtfm_root
  @rtfm_root
end

#titleObject



15
16
17
# File 'lib/gollum/frontend/views/layout.rb', line 15

def title
  "Home"
end