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, #dependencies, #execute_shell, #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.



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

def initialize(site)
  super( site )
end

Instance Method Details

#output_filenameObject



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

def output_filename
  nil
end

#raw_contentObject



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

def raw_content
  nil
end

#relative_source_pathObject



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

def relative_source_path
  nil
end

#rendered_content(context, with_layouts = true) ⇒ Object



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

def rendered_content(context, with_layouts=true)
  nil
end

#stale?Boolean

Returns:

  • (Boolean)


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

def stale?
  false
end