Top Level Namespace
Defined Under Namespace
Modules: FB64
Instance Method Summary collapse
Instance Method Details
#darwin? ⇒ Boolean
12 13 14 |
# File 'ext/fb64/extconf.rb', line 12 def darwin? RbConfig::CONFIG['target_os'] =~ /darwin/ end |
#nix? ⇒ Boolean
20 21 22 |
# File 'ext/fb64/extconf.rb', line 20 def nix? ! (windows? || solaris? || darwin?) end |
#openbsd? ⇒ Boolean
16 17 18 |
# File 'ext/fb64/extconf.rb', line 16 def openbsd? RbConfig::CONFIG['target_os'] =~ /openbsd/ end |
#solaris? ⇒ Boolean
8 9 10 |
# File 'ext/fb64/extconf.rb', line 8 def solaris? RbConfig::CONFIG['target_os'] =~ /solaris/ end |
#windows? ⇒ Boolean
4 5 6 |
# File 'ext/fb64/extconf.rb', line 4 def windows? RbConfig::CONFIG['target_os'] =~ /mingw32|mswin/ end |