Method: Boxes::Environment#hidden_scripts
- Defined in:
- lib/boxes/environment.rb
#hidden_scripts ⇒ Object
39 40 41 42 43 44 45 46 |
# File 'lib/boxes/environment.rb', line 39 def hidden_scripts t = Dir.glob("#{Boxes.config.working_dir}/scripts/*") a = t.collect { |c| c.include?('purge.sh') ? c : next }.compact a.collect do |c| c.gsub(Boxes.config.working_dir.to_s + '/scripts/', '') end end |