Class: JasmineParser::Announcer
- Inherits:
-
Object
- Object
- JasmineParser::Announcer
- Defined in:
- lib/jasmine-parser/announcer.rb
Class Method Summary collapse
Class Method Details
.error(message) ⇒ Object
47 48 49 50 51 52 |
# File 'lib/jasmine-parser/announcer.rb', line 47 def self.error() @error_count ||= 0 @error_count = @error_count + 1 return nil unless Config.logging.include? :error puts "[ERROR - #{@error_count}] #{}" end |