Module: Ramaze::View::Sass
- Defined in:
- lib/ramaze/view/sass.rb
Class Method Summary collapse
Class Method Details
.call(action, string) ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/ramaze/view/sass.rb', line 8 def self.call(action, string) = action. if = action.instance.ancestral_trait[:sass_options] = .merge() end sass = View.compile(string){|s| ::Sass::Engine.new(s, ) } css = sass.to_css return css, 'text/css' end |