module HamlI18nLint::Linter5::CompilerExtension

Public Instance Methods

lint_attributes_hashes() click to toggle source
# File lib/haml_i18n_lint/linter5/compiler_extension.rb, line 6
def lint_attributes_hashes
  [@node.value[:dynamic_attributes]&.old&.gsub(/(^\{|\}$)/, '')].compact
end