class RuboCop::Cop::AlignmentCorrector

def delimited_string_literal?(node)

- The source map of `__FILE__` responds to neither :begin nor :end.
nil.
- The source map of `?a` responds to :begin and :end but its end is
characters between two delimiters:
Some special kinds of string literals are not composed of literal
def delimited_string_literal?(node)
  loc = node.location
  loc.respond_to?(:begin) && loc.begin &&
    loc.respond_to?(:end) && loc.end
end