module QB::Python
Definitions
¶ ↑
Public Class Methods
bin()
click to toggle source
Switch python bin depending on local dev / Travis CI env
@todo
Probably want more robust way of finding the Python we want and figuring out we're in Travis.
@return [String]
# File lib/qb/python.rb, line 18 def self.bin # if File.exists? '/home/travis' # 'python' # else # 'python2' # end 'python' end