Class: Regenerate::StaticHtml

Inherits:
PageComponent show all
Defined in:
lib/regenerate/web-page.rb

Overview

A component of static text which is not assigned to any variable, and which does not change

Instance Attribute Summary

Attributes inherited from PageComponent

#parentPage, #text

Instance Method Summary collapse

Methods inherited from PageComponent

#addLine, #addToParentPage, #finishText, #finished, #initialize, #initializeFromStartComment, #processEndComment, #processStartComment

Constructor Details

This class inherits a constructor from Regenerate::PageComponent

Instance Method Details

#output(showSource = true) ⇒ Object



58
59
60
# File 'lib/regenerate/web-page.rb', line 58

def output(showSource = true)
  text + "\n"
end

#varNameObject



62
63
64
# File 'lib/regenerate/web-page.rb', line 62

def varName
  nil
end