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
284 285 286 |
# File 'lib/asproject.rb', line 284 def Logger.debug return @@debug end |
.debug=(debug) ⇒ Object
280 281 282 |
# File 'lib/asproject.rb', line 280 def Logger.debug=(debug) @@debug = debug end |
.flush ⇒ Object
304 305 306 307 308 309 |
# File 'lib/asproject.rb', line 304 def Logger.flush if(!Logger.debug) $stdout.puts @@output end @@output = '' end |