Sha256: 77f5f9a33a0e09f263639c2eaca9cf838acefb7172452fe6181968939434c95e

Contents?: true

Size: 288 Bytes

Versions: 5

Compression:

Stored size: 288 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)
    visit_children(node)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
scss_beautifier-0.1.19 lib/scss_beautifier/formatters/selector.rb
scss_beautifier-0.1.18 lib/scss_beautifier/formatters/selector.rb
scss_beautifier-0.1.17 lib/scss_beautifier/formatters/selector.rb
scss_beautifier-0.1.16 lib/scss_beautifier/formatters/selector.rb
scss_beautifier-0.1.15 lib/scss_beautifier/formatters/selector.rb