Method: Sass::Tree::PropNode#initialize
- Defined in:
- lib/sass/tree/prop_node.rb
#initialize(name, value, prop_syntax) ⇒ PropNode
Returns a new instance of PropNode.
70 71 72 73 74 75 76 77 78 |
# File 'lib/sass/tree/prop_node.rb', line 70
def initialize(name, value, prop_syntax)
@name = Sass::Util.strip_string_array(
Sass::Util.merge_adjacent_strings(name))
@value = Sass::Util.merge_adjacent_strings(value)
@value = Sass::Util.strip_string_array(@value) unless custom_property?
@tabs = 0
@prop_syntax = prop_syntax
super()
end
|