# my_gem/ # lib/ # my_gem.rb module MyGem # @return [Pathname] # similar to Rails.root def self.root Pathname.new(File.expand_path("..", __dir__)) end end For further actions, you may consider blocking this person and/or reporting abuse
# my_gem/ # lib/ # my_gem.rb module MyGem # @return [Pathname] # similar to Rails.root def self.root Pathname.new(File.expand_path("..", __dir__)) end end For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)