Class: Shwedagon::Views::Layout

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

Direct Known Subclasses

Edit, Home, NewPost, Settings

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



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

def name
  @name
end

#pathObject (readonly)

Returns the value of attribute path.



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

def path
  @path
end

Instance Method Details

#base_urlObject



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

def base_url
  @base_url
end

#titleObject



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

def title
  "Home"
end