Sha256: 9b8ce67b29e9ee277b8d6212abeee26d6dc843be3a55d197a914b46f3673fdc9

Contents?: true

Size: 381 Bytes

Versions: 2

Compression:

Stored size: 381 Bytes

Contents

class Ivy4rJars
  VERSION = '1.0.1'

  class << self
    # Returns expanded path to directory containing the jars
    def lib_dir
      @lib_dir ||= File.expand_path(File.dirname(__FILE__))
    end

    # Returns expanded path to directory that can be used as
    # __ANT_HOME__ for __Antwrap__.
    def ant_home_dir
      @ant_home_dir ||= File.dirname(lib_dir)
    end
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
klaas1979-ivy4r-jars-1.0.1 lib/ivy4r_jars.rb
ivy4r-jars-1.0.1 lib/ivy4r_jars.rb