Class: FFI::Clang::VerbatimBlockCommandComment
- Defined in:
- lib/ffi/clang/comment.rb
Overview
Represents a verbatim block command comment (e.g., code, verbatim).
Instance Method Summary collapse
-
#text ⇒ Object
Get the text by joining all child lines with newlines.
Methods inherited from Comment
build_from, #child, #children, #each, #has_trailing_newline?, #initialize, #kind, #num_children, #whitespace?
Constructor Details
This class inherits a constructor from FFI::Clang::Comment
Instance Method Details
#text ⇒ Object
Get the text by joining all child lines with newlines.
332 333 334 |
# File 'lib/ffi/clang/comment.rb', line 332 def text children.map(&:text).join("\n") end |