Top Level Namespace

Defined Under Namespace

Classes: NewickFile, NewickString

Instance Method Summary collapse

Instance Method Details

#binary_available(name) ⇒ Object



2
3
4
5
6
7
8
# File 'lib/rnewick.rb', line 2

def binary_available(name)
  available = false
  ENV['PATH'].split(':').each do |folder|
    available = true if File.exists?(File.join folder, name)
  end
  available
end