Class: CreateRubyApp::Actions::MakeScriptExecutable

Inherits:
Object
  • Object
show all
Defined in:
lib/create_ruby_app/actions/make_script_executable.rb

Class Method Summary collapse

Class Method Details

.call(app) ⇒ Object



8
9
10
# File 'lib/create_ruby_app/actions/make_script_executable.rb', line 8

def self.call(app)
  FileUtils.chmod("+x", "#{app.name}/bin/#{app.name}")
end