Sha256: abc379556bc9fe53713fcd0c5947e5e94c2fb18433c133cf64007ad0e4761132

Contents?: true

Size: 361 Bytes

Versions: 9

Compression:

Stored size: 361 Bytes

Contents

module ApplicationHelper
  def personalize_script
    path = File.expand_path("../../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
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
forger-3.0.2 lib/templates/default/app/helpers/application_helper.rb
forger-3.0.1 lib/templates/default/app/helpers/application_helper.rb
forger-3.0.0 lib/templates/default/app/helpers/application_helper.rb
forger-2.0.5 lib/templates/default/app/helpers/application_helper.rb
forger-2.0.4 lib/templates/default/app/helpers/application_helper.rb
forger-2.0.3 lib/templates/default/app/helpers/application_helper.rb
forger-2.0.2 lib/templates/default/app/helpers/application_helper.rb
forger-2.0.1 lib/templates/default/app/helpers/application_helper.rb
forger-2.0.0 lib/templates/default/app/helpers/application_helper.rb