Method: LibGems::Specification#add_bindir
- Defined in:
- lib/libgems/specification.rb
#add_bindir(executables) ⇒ Object
Returns an array with bindir attached to each executable in the executables list
372 373 374 375 376 377 378 379 380 381 382 |
# File 'lib/libgems/specification.rb', line 372 def add_bindir(executables) return nil if executables.nil? if @bindir then Array(executables).map { |e| File.join(@bindir, e) } else executables end rescue return nil end |