String
"hello world"
Strip quotes if necessary, and save them in @quotes
# File lib/less/engine/nodes/literal.rb, line 124 def initialize str @quotes, @content = unless str.nil? or str.empty? str.match(/('|")(.*?)(\11))/).captures rescue [nil, str] else [nil, ""] end super @content end
# File lib/less/engine/nodes/literal.rb, line 133 def to_css "#@quotes#{@content}#@quotes" end
[Validate]
Generated with the Darkfish Rdoc Generator 2.