method
bin
v8.0.0 -
Show latest stable
- Class:
Rails::AppBuilder
bin()public
No documentation available.
# File railties/lib/rails/generators/rails/app/app_generator.rb, line 111
def bin
exclude_pattern = Regexp.union([(/thrust/ if skip_thruster?), (/rubocop/ if skip_rubocop?), (/brakeman/ if skip_brakeman?)].compact)
directory "bin", { exclude_pattern: exclude_pattern } do |content|
"#{shebang}\n" + content
end
chmod "bin", 0755 & ~File.umask, verbose: false
end