Class: AsProject::Logger
- Inherits:
-
Object
- Object
- AsProject::Logger
- Defined in:
- lib/asproject.rb
Constant Summary collapse
- @@output =
''
- @@debug =
false
Class Method Summary collapse
Class Method Details
.debug ⇒ Object
282 283 284 |
# File 'lib/asproject.rb', line 282 def Logger.debug return @@debug end |
.debug=(debug) ⇒ Object
278 279 280 |
# File 'lib/asproject.rb', line 278 def Logger.debug=(debug) @@debug = debug end |
.flush ⇒ Object
302 303 304 305 306 307 |
# File 'lib/asproject.rb', line 302 def Logger.flush if(!Logger.debug) $stdout.puts @@output end @@output = '' end |