Sha256: c94ce6c4f58c440da025629641b6948a5768246a44d710c02eecc7da2666b330
Contents?: true
Size: 525 Bytes
Versions: 33
Compression:
Stored size: 525 Bytes
Contents
module IsoDoc module Generic module Utils def configuration Metanorma::Generic.configuration end def fileloc(loc) File.join(File.dirname(__FILE__), loc) end def baselocation(loc) return nil if loc.nil? return "" if loc.empty? return loc f = defined?(self.class::_file) ? (self.class::_file || __FILE__) : __FILE__ File.expand_path(File.join( File.dirname(f), "..", "..", "..", loc)) end end end end
Version data entries
33 entries across 33 versions & 1 rubygems