drop forwarding to private methods (#6577)

Merge pull request 6577
This commit is contained in:
ashmaroli 2017-11-27 01:06:41 +05:30 committed by Frank Taillandier
parent 8060934f96
commit e063ac530c
No known key found for this signature in database
GPG Key ID: E73258E3F50AEB7E
1 changed files with 8 additions and 8 deletions

View File

@ -21,6 +21,14 @@ class Jekyll::ThemeBuilder
initialize_git_repo initialize_git_repo
end end
def user_name
@user_name ||= `git config user.name`.chomp
end
def user_email
@user_email ||= `git config user.email`.chomp
end
private private
def root def root
@ -85,14 +93,6 @@ class Jekyll::ThemeBuilder
write_file(".gitignore", template("gitignore")) write_file(".gitignore", template("gitignore"))
end end
def user_name
@user_name ||= `git config user.name`.chomp
end
def user_email
@user_email ||= `git config user.email`.chomp
end
class ERBRenderer class ERBRenderer
extend Forwardable extend Forwardable