15 lines
200 B
Ruby
15 lines
200 B
Ruby
require 'FileUtils'
|
|
|
|
class Filecreate
|
|
|
|
attr_accessor :filename
|
|
|
|
def create
|
|
myFile = File.new(self.filename,"a")
|
|
end
|
|
|
|
def open
|
|
openFile = File.open(self.filename,"a")
|
|
return openFile
|
|
end
|
|
end |