Method: Parser::Source::Comment#document?

Defined in:
lib/parser/source/comment.rb

#document?Boolean

Returns true if this is a block comment.

Returns:

  • (Boolean)

    true if this is a block comment.

See Also:

[View source]

109
110
111
# File 'lib/parser/source/comment.rb', line 109

def document?
  type == :document
end