Sha256: 0fd779fd117d129a9df137976ccbd0700963befcc456c23becf5b2c1f29cef79

Contents?: true

Size: 257 Bytes

Versions: 2

Compression:

Stored size: 257 Bytes

Contents

class SCSSBeautifier::Formatters::Selector < Sass::Tree::Visitors::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

2 entries across 2 versions & 1 rubygems

Version Path
scss_beautifier-0.1.11 lib/scss_beautifier/formatters/selector.rb
scss_beautifier-0.1.10 lib/scss_beautifier/formatters/selector.rb