2012-08-31 4 views

답변

2

당신이 사용할 수있는 루비의 Tempfile :

Tempfile.new('prefix') do |file| 
    # do the work with the file 
end 
:
file = Tempfile.new('prefix') 

또는 블록

관련 문제