Sha256: c4a09072ab506030ebda9b94775742156eb12cc52e85dfb2d733d9fac0a0a5ee

Contents?: true

Size: 219 Bytes

Versions: 68

Compression:

Stored size: 219 Bytes

Contents

require "fileutils"
module SOULs
  SOULS_PATH =
    if FileUtils.pwd.split("/").last == "souls"
      ".".freeze
    else
      "#{Gem.dir}/gems/souls-#{SOULs::VERSION}".freeze
    end
  public_constant :SOULS_PATH
end

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
souls-4.1.2 lib/souls/souls_path.rb
souls-4.1.1 lib/souls/souls_path.rb
souls-4.1.0 lib/souls/souls_path.rb
souls-4.0.3 lib/souls/souls_path.rb
souls-4.0.2 lib/souls/souls_path.rb
souls-4.0.1 lib/souls/souls_path.rb
souls-4.0.0 lib/souls/souls_path.rb
souls-3.0.8 lib/souls/souls_path.rb
souls-3.0.7 lib/souls/souls_path.rb
souls-3.0.6 lib/souls/souls_path.rb
souls-3.0.5 lib/souls/souls_path.rb
souls-3.0.4 lib/souls/souls_path.rb
souls-3.0.3 lib/souls/souls_path.rb
souls-3.0.2 lib/souls/souls_path.rb
souls-3.0.1 lib/souls/souls_path.rb
souls-3.0.0 lib/souls/souls_path.rb
souls-2.0.4 lib/souls/souls_path.rb
souls-2.0.3 lib/souls/souls_path.rb
souls-2.0.2 lib/souls/souls_path.rb
souls-2.0.1 lib/souls/souls_path.rb