Sha256: e910b462eae159666e351bd5ee479deda31213cb313c1d78883b658aed10ff9a
Contents?: true
Size: 756 Bytes
Versions: 2
Compression:
Stored size: 756 Bytes
Contents
begin require 'maven' rescue LoadError #allow to access the version anyways end module TeslaMaven VERSION = '0.1.1'.freeze def self.home File.expand_path( File.join( File.dirname( File.expand_path( __FILE__ ) ), '../ruby-maven-home' ) ) end def self.bin( file = nil ) if file File.join( path( 'bin' ), file ) else path( 'bin' ) end end def self.ext path( 'ext' ) end def self.lib path( 'lib' ) end def self.maven_home Maven.home end def self.maven_bin Maven.bin end def self.maven_lib Maven.lib end def self.maven_conf Maven.conf end def self.maven_boot Maven.boot end private def self.path( name ) File.join( home, name ) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby-maven-3.1.1.0.11 | lib/tesla_maven.rb |
ruby-maven-3.1.1.0.9 | lib/tesla_maven.rb |