# -*- coding: utf-8 -*- module Rays extend module ClassMethods def root_dir () File.expand_path(File.join File.dirname(__FILE__), '..', '..') end def include_dirs () [File.join(root_dir, 'include')] end def library_dirs () [File.join(root_dir, 'lib')] end def version () open(File.join root_dir, 'VERSION') {|f| f.readline.chomp} end self end# ClassMethods end# Rays