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:
parent
5cd0999927
commit
be138a7e22
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue