lib/sass/tree/rule_node.rb in sass-3.4.20 vs lib/sass/tree/rule_node.rb in sass-3.4.21
- old
+ new
@@ -131,10 +131,10 @@
private
def try_to_parse_non_interpolated_rules
@parsed_rules = nil
- return unless @rule.all? {|t| t.kind_of?(String)}
+ return unless @rule.all? {|t| t.is_a?(String)}
# We don't use real filename/line info because we don't have it yet.
# When we get it, we'll set it on the parsed rules if possible.
parser = Sass::SCSS::StaticParser.new(@rule.join.strip, nil, nil, 1)
# rubocop:disable RescueModifier