Sha256: 9639b836f7a9bbc2a84ea2c873594120cd72762dba5ef3dc05aa3ffb615d4aef
Contents?: true
Size: 619 Bytes
Versions: 17
Compression:
Stored size: 619 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 = if defined?(self.class::_file) (self.class::_file || __FILE__) else __FILE__ end File.expand_path(File.join( File.dirname(f), "..", "..", "..", loc )) end end end end
Version data entries
17 entries across 17 versions & 1 rubygems