Module: Less::StyleSheet::Declaration3

Defined in:
lib/sass/less.rb

Overview

Property and variable declarations. We want to keep track of the line number so we don't space out the variables too much in the generated Sass.

Instance Method Summary collapse

Instance Method Details

#build_with_sass(env) Also known as: build



59
60
61
62
# File 'lib/sass/less.rb', line 59

def build_with_sass(env)
  build_without_sass(env)
  env.rules.last.src_line = input.line_of(interval.first)
end