module EacRubyUtils
Constants
- VERSION
Public Class Methods
fs_cache()
click to toggle source
# File lib/eac_ruby_utils/fs_cache.rb, line 8 def fs_cache @fs_cache ||= ::EacRubyUtils::FilesystemCache.new(::Dir.tmpdir, 'eac_ruby_utils', '.cache') end
on_clean_ruby_environment(*args, &block)
click to toggle source
DEPRECATED: Please use EacRubyUtils::Ruby.on_clean_environment
instead.
# File lib/eac_ruby_utils/on_clean_ruby_environment.rb, line 8 def on_clean_ruby_environment(*args, &block) ::EacRubyUtils::Ruby.on_clean_environment(*args, &block) end
patch(target, patch)
click to toggle source
# File lib/eac_ruby_utils/patch.rb, line 5 def patch(target, patch) return if target.included_modules.include?(patch) target.send(:include, patch) end
require_sub(file, options = {})
click to toggle source
# File lib/eac_ruby_utils/require_sub.rb, line 8 def require_sub(file, options = {}) ::EacRubyUtils::RequireSub.new(file, options).apply end