Helper gem for working with files and system in Ruby
Add this line to your application's Gemfile:
gem 'onlyoffice_file_helper'
And then execute:
bundle
Or install it yourself as:
gem install onlyoffice_file_helper
See spec
files to usage examples