Sha256: 0e560eb497748c39b7f11d963567946cdaf87afe67d1c831ee162842d1e0d747

Contents?: true

Size: 227 Bytes

Versions: 10

Compression:

Stored size: 227 Bytes

Contents

require 'less'

module Ramaze
  module View
    module Less
      def self.call(action, string)
        less = View.compile(string){|s| ::Less::Engine.new(s) }
        return less.to_css, 'text/css'
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
manveru-ramaze-2009.07 lib/ramaze/view/less.rb
ramaze-2011.01.30 lib/ramaze/view/less.rb
ramaze-2011.01 lib/ramaze/view/less.rb
ramaze-2010.06.18 lib/ramaze/view/less.rb
ramaze-2010.04.04 lib/ramaze/view/less.rb
ramaze-2010.04 lib/ramaze/view/less.rb
ramaze-2010.03 lib/ramaze/view/less.rb
ramaze-2010.01 lib/ramaze/view/less.rb
ramaze-2009.10 lib/ramaze/view/less.rb
ramaze-2009.07 lib/ramaze/view/less.rb