Method: Library::Domain#PATH
- Defined in:
- lib/library/domain.rb
#PATH ⇒ Object
TODO:
Should this be defined on Ledger?
Go thru each library and make sure bin path is in path.
232 233 234 235 236 237 238 239 |
# File 'lib/library/domain.rb', line 232 def PATH() path = [] list.each do |name| lib = Library[name] path << lib.bindir if lib.bindir? end path.join(RbConfig.windows_platform? ? ';' : ':') end |