Remove to_i. Let commander gem do it #1004

This commit is contained in:
uu59
2013-04-29 15:51:37 +09:00
parent 20a837d15c
commit 94756340cd
3 changed files with 3 additions and 14 deletions

View File

@@ -27,8 +27,7 @@ module Jekyll
self.include = config['include']
self.future = config['future']
self.show_drafts = config['show_drafts']
# given as String if it is came from CLI option
self.limit_posts = config['limit_posts'].to_i
self.limit_posts = config['limit_posts']
self.keep_files = config['keep_files']
self.reset