module Eddy module Util # @!group Paths # Directory where the gem is located. # @return [String] def self.root_dir return File.expand_path("../../../..", __FILE__) end # Directory containing EDI data & definitions. # @return [String] def self.data_dir return File.join(self.root_dir, "data") end # @!endgroup Paths end end