Method: Sass::Script::Tree::Operation#deep_copy

Defined in:
lib/sass/script/tree/operation.rb

#deep_copy

See Also:

[View source]

52
53
54
55
56
57
# File 'lib/sass/script/tree/operation.rb', line 52

def deep_copy
  node = dup
  node.instance_variable_set('@operand1', @operand1.deep_copy)
  node.instance_variable_set('@operand2', @operand2.deep_copy)
  node
end