1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

[Sass] Add ImportNode#to_sass.

This commit is contained in:
Nathan Weizenbaum 2010-01-26 23:04:27 -08:00
parent 5cd0999927
commit be138a7e22

View file

@ -28,6 +28,11 @@ module Sass
@full_filename ||= import
end
# @see Node#to_sass
def to_sass(tabs, opts = {})
"#{' ' * tabs}@import #{@imported_filename}\n"
end
protected
# @see Node#_cssize