Class: FFI::Clang::TextComment
- Defined in:
- lib/ffi/clang/comment.rb
Overview
Represents a plain text comment.
Instance Method Summary collapse
-
#text ⇒ Object
Get the text content of this comment.
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 content of this comment.
176 177 178 |
# File 'lib/ffi/clang/comment.rb', line 176 def text Lib.extract_string Lib.text_comment_get_text(@comment) end |