Module: Less::StyleSheet::Accessor1

Defined in:
lib/sass/less.rb

Overview

Attribute accessors. Sass just flat-out doesn't support these, so we print a warning to that effect and compile them to comments.

Instance Method Summary collapse

Instance Method Details

#build(env)



88
89
90
91
92
93
94
# File 'lib/sass/less.rb', line 88

def build(env)
  Haml::Util.haml_warn <<WARNING
WARNING: Sass doesn't support attribute accessors.
Ignoring #{text_value}
WARNING
  Node::Anonymous.new("/* #{text_value} */")
end