class Glog::Page

Public Class Methods

root() click to toggle source
# File lib/glog/page.rb, line 11
def self.root
  get(Glog.config['root'])
end

Public Instance Methods

content_type() click to toggle source
# File lib/glog/page.rb, line 23
def content_type
  self.ctype ? self.ctype : 'text/html'
end
path_with_parent() click to toggle source
# File lib/glog/page.rb, line 19
def path_with_parent
  File.join(parent, name)
end
render() click to toggle source
Calls superclass method
# File lib/glog/page.rb, line 15
def render
  self.template == false ? super : wrap_with_template(super)
end