lib/sass/tree/rule_node.rb in sass-3.3.0.alpha.149 vs lib/sass/tree/rule_node.rb in sass-3.3.0.alpha.162
- old
+ new
@@ -7,15 +7,15 @@
class RuleNode < Node
# The character used to include the parent selector
PARENT = '&'
# The CSS selector for this rule,
- # interspersed with {Sass::Script::Node}s
+ # interspersed with {Sass::Script::Tree::Node}s
# representing `#{}`-interpolation.
# Any adjacent strings will be merged together.
#
- # @return [Array<String, Sass::Script::Node>]
+ # @return [Array<String, Sass::Script::Tree::Node>]
attr_accessor :rule
# The CSS selector for this rule,
# without any unresolved interpolation
# but with parent references still intact.
@@ -58,10 +58,10 @@
# and only when the :trace_selectors option is set.
#
# @return [Array<String>]
attr_accessor :stack_trace
- # @param rule [Array<String, Sass::Script::Node>]
+ # @param rule [Array<String, Sass::Script::Tree::Node>]
# @param selector_source_range [Sass::Source::Range]
# The CSS rule. See \{#rule}
def initialize(rule, selector_source_range = nil)
merged = Sass::Util.merge_adjacent_strings(rule)
@rule = Sass::Util.strip_string_array(merged)