class method
self.github
Ruby on Rails 4.2.9
Since v4.1.16Signature
self.github(name, github, branch = nil, comment = nil)
No documentation comment.
Parameters
-
namereq -
githubreq -
branchopt = nil -
commentopt = nil
Source
# File railties/lib/rails/generators/app_base.rb, line 185
def self.github(name, github, branch = nil, comment = nil)
if branch
new(name, nil, comment, github: github, branch: branch)
else
new(name, nil, comment, github: github)
end
end
Defined in railties/lib/rails/generators/app_base.rb line 185
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Generators::AppBase::GemfileEntry