Class: Prism::EmbDocComment
- Defined in:
 - lib/prism/parse_result.rb,
ext/prism/extension.c 
Overview
EmbDocComment objects correspond to comments that are surrounded by =begin and =end.
Instance Attribute Summary
Attributes inherited from Comment
Instance Method Summary collapse
- 
  
    
      #inspect  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Returns a string representation of this comment.
 - 
  
    
      #trailing?  ⇒ Boolean 
    
    
  
  
  
  
  
  
  
  
  
    
This can only be true for inline comments.
 
Methods inherited from Comment
#deconstruct_keys, #initialize, #slice
Constructor Details
This class inherits a constructor from Prism::Comment
Instance Method Details
#inspect ⇒ Object
Returns a string representation of this comment.
      569 570 571  | 
    
      # File 'lib/prism/parse_result.rb', line 569 def inspect "#<Prism::EmbDocComment @location=#{location.inspect}>" end  | 
  
#trailing? ⇒ Boolean
This can only be true for inline comments.
      564 565 566  | 
    
      # File 'lib/prism/parse_result.rb', line 564 def trailing? false end  |