Define a .root method for your gems
# my_gem/ #   lib/ #     my_gem.rb  module MyGem   # @return [Pathname] # similar to Rails.root  ...
Tags: ruby, gems, basics