Class: ActionController::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/sass/plugin/rails.rb

Instance Method Summary collapse

Instance Method Details

#process(*args) ⇒ Object



13
14
15
16
17
18
19
20
# File 'lib/sass/plugin/rails.rb', line 13

def process(*args)
  if !Sass::Plugin.checked_for_updates ||
      Sass::Plugin.options[:always_update] || Sass::Plugin.options[:always_check]
    Sass::Plugin.update_stylesheets
  end

  sass_old_process(*args)
end

#sass_old_processObject



12
# File 'lib/sass/plugin/rails.rb', line 12

alias_method :sass_old_process, :process