Sha256: 27029d118a104ddab3db6efb7d9b32921025c41ca721f766c9790cd39a94e921

Contents?: true

Size: 263 Bytes

Versions: 3

Compression:

Stored size: 263 Bytes

Contents

class SCSSBeautifier::Formatters::Selector < SCSSBeautifier::Formatters::Base
  def visit_rule(node)
    node.rule = node.rule.each do |rule|
      rule.gsub!(/,/, ",\n") if rule.is_a?(String)
    end
    node.send(:try_to_parse_non_interpolated_rules)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
scss_beautifier-0.1.14 lib/scss_beautifier/formatters/selector.rb
scss_beautifier-0.1.13 lib/scss_beautifier/formatters/selector.rb
scss_beautifier-0.1.12 lib/scss_beautifier/formatters/selector.rb