Module: ApplicationHelper
- Defined in:
- lib/templates/default/app/helpers/application_helper.rb
Instance Method Summary collapse
Instance Method Details
#personalize_script ⇒ Object
2 3 4 5 6 7 8 9 10 11 |
# File 'lib/templates/default/app/helpers/application_helper.rb', line 2 def personalize_script path = File.("../../scripts/personalize/#{ENV['USER']}.sh", __FILE__) if File.exist?(path) script =<<EOL ####################################### # personalize script added by ApplicationHelper#personalize_script for #{ENV['USER']} /opt/scripts/personalize/tung.sh EOL end end |