Sha256: daee357efc6d1dbb1a7d28727c3324bff14332aa010a3977de67d7f177df830c

Contents?: true

Size: 235 Bytes

Versions: 9

Compression:

Stored size: 235 Bytes

Contents

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
scss_beautifier-0.1.8 lib/scss_beautifier/formatters/selector.rb
scss_beautifier-0.1.7 lib/scss_beautifier/formatters/selector.rb
scss_beautifier-0.1.6 lib/scss_beautifier/formatters/selector.rb
scss_beautifier-0.1.5 lib/scss_beautifier/formatters/selector.rb
scss_beautifier-0.1.4 lib/scss_beautifier/formatters/selector.rb
scss_beautifier-0.1.3 lib/scss_beautifier/formatters/selector.rb
scss_beautifier-0.1.2 lib/scss_beautifier/formatters/selector.rb
scss_beautifier-0.1.1 lib/scss_beautifier/formatters/selector.rb
scss_beautifier-0.1.0 lib/scss_beautifier/formatters/selector.rb