lib/sass/tree/node.rb in haml-3.0.0.rc.4 vs lib/sass/tree/node.rb in haml-3.0.0.rc.5
- old
+ new
@@ -118,20 +118,9 @@
# @see Sass::Tree
def ==(other)
self.class == other.class && other.children == children
end
- # Runs the dynamic Sass code *and* computes the CSS for the tree.
- #
- # @see #perform
- # @see #to_s
- def render
- extends = Haml::Util::SubsetMap.new
- result = perform(Environment.new).cssize(extends)
- result = result.do_extend(extends) unless extends.empty?
- result.to_s
- end
-
# True if \{#to\_s} will return `nil`;
# that is, if the node shouldn't be rendered.
# Should only be called in a static tree.
#
# @return [Boolean]