Class: Mittsu::GLFWLib::Linux
- Inherits:
-
Mittsu::GenericLib::Linux
- Object
- Mittsu::GenericLib::Base
- Mittsu::GenericLib::Linux
- Mittsu::GLFWLib::Linux
- Defined in:
- lib/mittsu/renderers/glfw_lib.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(loader = Linux) ⇒ Linux
constructor
A new instance of Linux.
Methods inherited from Mittsu::GenericLib::Linux
#file, kernel_module_in_use, #path, sixtyfour_bits?
Methods inherited from Mittsu::GenericLib::Base
Constructor Details
Class Method Details
.ldconfig ⇒ Object
19 20 21 22 23 |
# File 'lib/mittsu/renderers/glfw_lib.rb', line 19 def ldconfig `ldconfig -p | grep 'libglfw3\\?\\.so'`.lines rescue [] end |
.libgl_paths ⇒ Object
13 14 15 16 17 |
# File 'lib/mittsu/renderers/glfw_lib.rb', line 13 def libgl_paths Dir.glob('/usr/lib*/**/libglfw*.so*') rescue [] end |