Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class FileCreator < ApplicationService
- def file_open
- File.open("#{Rails.root}/public/pk3/tmp/crosshairs.shader", 'w') do |file|
- cross_hash.each.with_index(1) do |x, index|
- file <<
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement