Sha256: 8261b2da5483bad364fbcbccc33279696fc0896b880b6df0829c365dfb8f3e64

Contents?: true

Size: 318 Bytes

Versions: 2

Compression:

Stored size: 318 Bytes

Contents

# -*- coding: utf-8 -*-

module Arxutils
  class Arxutils
    def Arxutils.dirname
      File.dirname( __FILE__ )
    end

    def Arxutils.templatedir
      File.join(  Arxutils.dirname , ".." , "template" )
    end

    def Arxutils.configdir
      File.join( Arxutils.dirname  , ".." , 'config' )
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
arxutils-0.1.36 lib/arxutils/arxutils.rb
arxutils-0.1.35 lib/arxutils/arxutils.rb