Sha256: 8555fda3356b72e4a90da928380b075cf30480861d58b35ca8604167e8a8a248
Contents?: true
Size: 422 Bytes
Versions: 9
Compression:
Stored size: 422 Bytes
Contents
# -*- coding: utf-8 -*- module Rays module Module module_function def name() super.split('::')[-2] end def version() open(root_dir 'VERSION') {|f| f.readline.chomp} end def root_dir(path = '') File.expand_path "../../#{path}", __dir__ end def inc_dir() root_dir 'include' end def lib_dir() root_dir 'lib' end end# Module end# Rays
Version data entries
9 entries across 9 versions & 1 rubygems