Methods
G
N
P
V
Class Public methods
github(name, github, branch = nil, comment = nil)
# File railties/lib/rails/generators/app_base.rb, line 180
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
new(name, version, comment, options = {}, commented_out = false)
# File railties/lib/rails/generators/app_base.rb, line 176
def initialize(name, version, comment, options = {}, commented_out = false)
  super
end
path(name, path, comment = nil)
# File railties/lib/rails/generators/app_base.rb, line 192
def self.path(name, path, comment = nil)
  new(name, nil, comment, path: path)
end
version(name, version, comment = nil)
# File railties/lib/rails/generators/app_base.rb, line 188
def self.version(name, version, comment = nil)
  new(name, version, comment)
end
Instance Public methods
padding(max_width)
# File railties/lib/rails/generators/app_base.rb, line 196
def padding(max_width)
  ' ' * (max_width - name.length + 2)
end