instance method
git_keep
Ruby on Rails 3.2.22.5
Since v3.1.12 Last seen in v3.2.22.5Available in: v3.1.12 v3.2.22.5
Signature
git_keep(destination)
No documentation comment.
Parameters
-
destinationreq
Source
# File railties/lib/rails/generators/app_base.rb, line 266
def git_keep(destination)
create_file("#{destination}/.gitkeep") unless options[:skip_git]
end
Defined in railties/lib/rails/generators/app_base.rb line 266
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Generators::AppBase