Sha256: 0630fa530f03ac74563ed1fbfbd965175981e2c161ff0feb8ddd6df023993cf2
Contents?: true
Size: 427 Bytes
Versions: 9
Compression:
Stored size: 427 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