lib/haml_lint/tree/tag_node.rb
# List of classes statically defined for this tag.
#
# @example For `%tag.button.button-info{ class: status }`, this returns:
#   ['button', 'button-info']
#
# @return [Array<String>] list of statically defined classes with leading
#   dot removed
List of classes statically defined for this tag.
List of classes statically defined for this tag .
def static_classes
      @static_classes ||=
        begin
          static_attributes_source.scan(/\.([-:\w]+)/)
        end
    end
def static_classes @static_classes ||= begin static_attributes_source . scan ( / \. ([-: \w ]+) / ) end end
List of classes statically defined for this tag.
List of classes statically defined for this tag .
list of statically defined classes with leading dot removed
list of statically defined classes with leading dot removed
Array<String>
example
None