class Awestruct::Handlers::PageDelegatingHandler
Attributes
page[RW]
Public Class Methods
new(site, page)
click to toggle source
Calls superclass method
Awestruct::Handlers::BaseHandler::new
# File lib/awestruct/handlers/page_delegating_handler.rb, line 9 def initialize(site, page) super( site ) @page = page end
Public Instance Methods
inherit_front_matter(outer_page)
click to toggle source
# File lib/awestruct/handlers/page_delegating_handler.rb, line 18 def inherit_front_matter(outer_page) #page.prepare! #page.handler.inherit_front_matter( outer_page ) @page.handler.inherit_front_matter(outer_page) end
input_mtime(ignored)
click to toggle source
# File lib/awestruct/handlers/page_delegating_handler.rb, line 40 def input_mtime(ignored) page.input_mtime end
output_extension()
click to toggle source
# File lib/awestruct/handlers/page_delegating_handler.rb, line 32 def output_extension page.output_extension end
output_path()
click to toggle source
# File lib/awestruct/handlers/page_delegating_handler.rb, line 24 def output_path page.output_path end
path()
click to toggle source
# File lib/awestruct/handlers/page_delegating_handler.rb, line 14 def path page.source_path end
raw_content()
click to toggle source
# File lib/awestruct/handlers/page_delegating_handler.rb, line 44 def raw_content page.raw_content end
relative_source_path()
click to toggle source
# File lib/awestruct/handlers/page_delegating_handler.rb, line 28 def relative_source_path page.relative_source_path end
rendered_content(context_ignored, with_layouts_ignored=true)
click to toggle source
# File lib/awestruct/handlers/page_delegating_handler.rb, line 48 def rendered_content(context_ignored, with_layouts_ignored=true) page.content( true ) end
stale?()
click to toggle source
# File lib/awestruct/handlers/page_delegating_handler.rb, line 36 def stale? page.stale? end