Method: Less::Command#err
- Defined in:
- lib/less/command.rb
#err(s = '', type = '') ⇒ Object
91 92 93 94 95 96 97 98 99 100 101 |
# File 'lib/less/command.rb', line 91 def err s = '', type = '' type = type.strip + ' ' unless type.empty? $stderr.print "! #{type}Error: #{s}" if @options[:growl] growl = Growl.new growl.title = "LESS" growl. = "#{type}Error in #@source!" growl.run false end end |