Class: WindowBlessing::XtermLog

Inherits:
Object
  • Object
show all
Defined in:
lib/window_blessing/xterm_log.rb

Class Method Summary collapse

Class Method Details

.log(str) ⇒ Object



3
4
5
# File 'lib/window_blessing/xterm_log.rb', line 3

def self.log(str)
  File.open("xterm.log","a+") {|f| f.puts str}
end