Class: PointBlank::Parsing::ParagraphUnderlineOverlay
- Inherits:
 - 
      NullOverlay
      
        
- Object
 - NullParser
 - NullOverlay
 - PointBlank::Parsing::ParagraphUnderlineOverlay
 
 
- Defined in:
 - lib/mmmd/blankshell.rb
 
Overview
Overlay for processing underline classes of paragraph
Instance Method Summary collapse
- 
  
    
      #process(block, lazy: false)  ⇒ nil, Class 
    
    
  
  
  
  
  
  
  
  
  
    
Process block after it closed.
 
Methods inherited from NullOverlay
Methods inherited from NullParser
begin?, #close, #consume, #initialize, #parsed_content
Constructor Details
This class inherits a constructor from PointBlank::Parsing::NullParser
Instance Method Details
#process(block, lazy: false) ⇒ nil, Class
Process block after it closed
      819 820 821 822 823  | 
    
      # File 'lib/mmmd/blankshell.rb', line 819 def process(block, lazy: false) output = check_underlines(block.content.lines.last, lazy) block.content = block.content.lines[0..-2].join("") if output output end  |