mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-17 01:40:42 -07:00
Fix a bunch of Ruby warnings
This commit is contained in:
@@ -4,7 +4,7 @@ module Liquid
|
||||
|
||||
def initialize(source, line_numbers = false)
|
||||
@source = source
|
||||
@line_number = 1 if line_numbers
|
||||
@line_number = line_numbers ? 1 : nil
|
||||
@tokens = tokenize
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user