Method: Webgen::PathHandler::Base::Node#content

Defined in:
lib/webgen/path_handler/base.rb

#contentObject

Return the result of the #content method on the associated path handler or nil if the associated path handler does not have a #content method.



65
66
67
# File 'lib/webgen/path_handler/base.rb', line 65

def content
  (@node_info[:path_handler].respond_to?(:content) ? @node_info[:path_handler].content(self) : nil)
end