Class: HyperbuildLoader
- Inherits:
-
Object
- Object
- HyperbuildLoader
- Defined in:
- lib/hyperbuild.rb
Class Method Summary collapse
Class Method Details
.lib_path ⇒ Object
13 14 15 |
# File 'lib/hyperbuild.rb', line 13 def self.lib_path File.join(__dir__, [, '-ruby', RUBY_VERSION.split('.')[0...-1].join('.')].join('')) end |
.operating_system ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/hyperbuild.rb', line 4 def self. case RbConfig::CONFIG['host_os'].downcase when /linux|bsd|solaris/ then 'linux' when /darwin/ then 'macos' when /mingw|mswin/ then 'windows' else 'unknown' end end |