compass/doc-src/lib/stylesheets/sass_extensions.rb

21 lines
577 B
Ruby
Raw Normal View History

2010-01-22 19:41:08 +00:00
require 'sass'
module Sass
module Tree
class VariableNode < Node
attr_accessor :name unless method_defined? :name
end
class MixinDefNode < Node
attr_accessor :name unless method_defined? :name
attr_accessor :args unless method_defined? :args
2010-01-22 19:40:56 +00:00
attr_accessor :comment unless method_defined? :comment
end
2010-01-22 19:40:56 +00:00
class ImportNode < RootNode
attr_accessor :imported_filename unless method_defined? :imported_filename
end
2010-01-22 19:40:56 +00:00
class CommentNode < Node
def docstring
([value] + lines).join("\n")
end
end
end
end