class ERBLint::Linters::ArgumentMappers::Helpers::ErbBlock
def interpolation?(attribute)
def interpolation?(attribute) erb_blocks(attribute).all? do |erb| # If the blocks does not have an indicator, it's not an interpolation. erb.children.to_a.compact.any? { |node| node.type == :indicator } end end