Top Level Namespace
Defined Under Namespace
Modules: TLearn Classes: TLearnExt
Constant Summary collapse
- OPTIMIZE =
compiler optimization level
'-O'
Instance Method Summary collapse
Instance Method Details
#tlearn_extension ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/tlearn.rb', line 10 def tlearn_extension if File.exists?(File.dirname(__FILE__) + '/tlearn.so') 'tlearn.so' elsif File.exists?(File.dirname(__FILE__) + '/tlearn.bundle') 'tlearn.bundle' elsif File.exists?(File.dirname(__FILE__) + '/tlearn/tlearn.so') 'tlearn/tlearn.so' elsif File.exists?(File.dirname(__FILE__) + '/tlearn/tlearn.bundle') 'tlearn/tlearn.bundle' end end |