Sha256: 3dd0eec8279636c63ad945f57addfa9b8e7008699798b603b9fa78a7cc9fd0fa

Contents?: true

Size: 382 Bytes

Versions: 15

Compression:

Stored size: 382 Bytes

Contents

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

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
eddy-0.10.0 lib/eddy/util/paths.rb
eddy-0.9.2 lib/eddy/util/paths.rb
eddy-0.9.1 lib/eddy/util/paths.rb
eddy-0.9.0 lib/eddy/util/paths.rb
eddy-0.8.4 lib/eddy/util/paths.rb
eddy-0.8.3 lib/eddy/util/paths.rb
eddy-0.8.2 lib/eddy/util/paths.rb
eddy-0.8.1 lib/eddy/util/paths.rb
eddy-0.8.0 lib/eddy/util/paths.rb
eddy-0.7.0 lib/eddy/util/paths.rb
eddy-0.6.0 lib/eddy/util/paths.rb
eddy-0.5.1 lib/eddy/util/paths.rb
eddy-0.5.0 lib/eddy/util/paths.rb
eddy-0.4.0 lib/eddy/util/paths.rb
eddy-0.3.0 lib/eddy/util/paths.rb