class Awestruct::Handlers::StringHandler

Public Class Methods

new(site, content, output_extension='.html') click to toggle source
Calls superclass method Awestruct::Handlers::BaseHandler::new
# File lib/awestruct/handlers/string_handler.rb, line 8
def initialize(site, content, output_extension='.html')
  super( site )
  @content = content
  @output_extension = output_extension
end

Public Instance Methods

output_extension() click to toggle source
# File lib/awestruct/handlers/string_handler.rb, line 14
def output_extension
  @output_extension
end
raw_content() click to toggle source
# File lib/awestruct/handlers/string_handler.rb, line 19
def raw_content
  @content
end
rendered_content(context, with_layouts=true) click to toggle source
# File lib/awestruct/handlers/string_handler.rb, line 23
def rendered_content(context, with_layouts=true)
  raw_content
end