Method: Kogno::Application.file_path
- Defined in:
- lib/kogno.rb
.file_path(file) ⇒ Object
119 120 121 122 123 124 125 |
# File 'lib/kogno.rb', line 119 def file_path(file) if File.exist?(file) else File.open(file, "w") {|f| f.write("") } end return file end |