# File lib/less/loader.rb, line 201 def on(event, callback) case event when 'error' callback.call(@err) if @err #only call when error exists else callback.call() end end