class Rake::AutoprefixerTasks
Define task to inspect Autoprefixer browsers, properties and values. Call it from your `Rakefile`:
AutoprefixerTasks.new(['> 1%', 'opera 12'])
Attributes
browsers[R]
Public Class Methods
new(params = {})
click to toggle source
# File lib/rake/autoprefixer_tasks.rb, line 15 def initialize(params = {}) @params = params @processor = AutoprefixerRails.processor(@params) define end
Public Instance Methods
define()
click to toggle source
# File lib/rake/autoprefixer_tasks.rb, line 21 def define namespace :autoprefixer do desc "Show selected browsers and prefixed CSS properties and values" task :info do puts @processor.info end end end