Class: Pippi::Context::DebugLogger
- Inherits:
-
Object
- Object
- Pippi::Context::DebugLogger
- Defined in:
- lib/pippi/context.rb
Instance Method Summary collapse
Instance Method Details
#warn(str) ⇒ Object
4 5 6 7 8 |
# File 'lib/pippi/context.rb', line 4 def warn(str) File.open('pippi_debug.log', 'a') do |f| f.syswrite("#{str}\n") end end |