Object
# File lib/less/loader.rb, line 197 def initialize(err) @err = err end
# 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
[Validate]
Generated with the Darkfish Rdoc Generator 2.