Class: Propolize::BlankTerminatedChunk
- Inherits:
-
LinesChunk
- Object
- LinesChunk
- Propolize::BlankTerminatedChunk
- Defined in:
- lib/propolize.rb
Overview
A chunk which is a group of lines terminated by a following blank line
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from LinesChunk
Instance Method Summary collapse
Methods inherited from LinesChunk
#addLine, #initialize, #postProcess
Constructor Details
This class inherits a constructor from Propolize::LinesChunk
Instance Method Details
#critiqueValue ⇒ Object
792 793 794 795 796 797 798 |
# File 'lib/propolize.rb', line 792 def critiqueValue if @isCritique then return "(is critique) " else return "" end end |
#isTerminatedBy?(line) ⇒ Boolean
788 789 790 |
# File 'lib/propolize.rb', line 788 def isTerminatedBy?(line) return /^\s*$/.match(line) end |