Class: RubyCleanCSS::Exports::Console
- Inherits:
-
Object
- Object
- RubyCleanCSS::Exports::Console
- Defined in:
- lib/ruby-clean-css/exports.rb
Overview
:nodoc:
Instance Method Summary collapse
- #log(*msgs) ⇒ Object (also: #warn, #error)
Instance Method Details
#log(*msgs) ⇒ Object Also known as: warn, error
50 51 52 53 |
# File 'lib/ruby-clean-css/exports.rb', line 50 def log(*msgs) str = sprintf(*msgs) rescue msgs.join(', ') STDERR.puts(str) end |