Sha256: 1c155ef6a9520c07555a6cf5bc86b6a3a4bde4ab48a6265a45cff55300a7357f
Contents?: true
Size: 394 Bytes
Versions: 10
Compression:
Stored size: 394 Bytes
Contents
# frozen_string_literal: true module RuboCop module AST # A node extension for `str`, `dstr` and `xstr` nodes. This will be used # in place of a plain node when the builder constructs the AST, making # its methods available to all `str` nodes within RuboCop. class StrNode < Node def heredoc? loc.is_a?(Parser::Source::Map::Heredoc) end end end end
Version data entries
10 entries across 10 versions & 2 rubygems