mirror of
https://github.com/jekyll/jekyll.git
synced 2026-02-05 20:25:00 -05:00
Remove if stmt for integer input
This commit is contained in:
@@ -267,7 +267,6 @@ module Jekyll
|
||||
#
|
||||
# Returns the integer value
|
||||
def to_integer(input)
|
||||
return input if input.is_a?(Integer)
|
||||
return 1 if input == true
|
||||
return 0 if input == false
|
||||
begin
|
||||
|
||||
Reference in New Issue
Block a user