Class: Awestruct::Handlers::NoOpHandler

Inherits:
BaseHandler show all
Defined in:
lib/awestruct/handlers/no_op_handler.rb

Instance Attribute Summary

Attributes inherited from BaseHandler

#delegate, #site

Instance Method Summary collapse

Methods inherited from BaseHandler

#content_line_offset, #content_syntax, #front_matter, #inherit_front_matter, #input_mtime, #output_extension, #output_path, #path, #simple_name, #to_chain

Constructor Details

#initialize(site) ⇒ NoOpHandler

Returns a new instance of NoOpHandler.



8
9
10
# File 'lib/awestruct/handlers/no_op_handler.rb', line 8

def initialize(site)
  super( site )
end

Instance Method Details

#output_filenameObject



12
13
14
# File 'lib/awestruct/handlers/no_op_handler.rb', line 12

def output_filename
  nil
end

#raw_contentObject



24
25
26
# File 'lib/awestruct/handlers/no_op_handler.rb', line 24

def raw_content
  nil
end

#relative_source_pathObject



16
17
18
# File 'lib/awestruct/handlers/no_op_handler.rb', line 16

def relative_source_path
  nil
end

#rendered_content(context, with_layouts = true) ⇒ Object



28
29
30
# File 'lib/awestruct/handlers/no_op_handler.rb', line 28

def rendered_content(context, with_layouts=true)
  nil
end

#stale?Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/awestruct/handlers/no_op_handler.rb', line 20

def stale?
  false
end