public
Rubygem
Description: HTML Abstraction Markup Language - A Markup Haiku
Homepage: http://haml.hamptoncatlin.com
Clone URL: git://github.com/nex3/haml.git
Search Repo:
Use an instance variable rather than a class variable to maintain options 
information for css2sass.
nex3 (author)
Tue Apr 29 19:12:04 -0700 2008
commit  64ba951437abecf3666dc7a24a6ca656113e01d0
tree    6bfeb8b91ad40003961b0904910f9b7e0afc45f5
parent  9187180ae2a5c58c03a0e40b9ae32e507f1b8a0a
...
95
96
97
98
 
99
100
101
...
103
104
105
106
 
107
108
109
...
95
96
97
 
98
99
100
101
...
103
104
105
 
106
107
108
109
0
@@ -95,7 +95,7 @@
0
         template = template.read
0
       end
0
 
0
- @@options = options
0
+ @@options = options
0
       @template = StringScanner.new(template)
0
     end
0
 
0
@@ -103,7 +103,7 @@
0
     # containing the CSS template.
0
     def render
0
       begin
0
- build_tree.to_sass(@@options).lstrip
0
+ build_tree.to_sass(@@options).lstrip
0
       rescue Exception => err
0
         line = @template.string[0...@template.pos].split("\n").size
0
 

Comments

    No one has commented yet.