class File
Public Class Methods
append(filename,str)
click to toggle source
# File lib/putio_fs/put_dir.rb, line 8 def append(filename,str) open(filename,"a") do |f| f << str end end
create(filename,str)
click to toggle source
# File lib/putio_fs/put_dir.rb, line 3 def create(filename,str) open(filename,"w") do |f| f << str end end
pp(filename,obj)
click to toggle source
# File lib/putio_fs/put_dir.rb, line 13 def pp(filename,obj) require 'pp' open(filename,"w") do |f| PP.pp obj,f end end