mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-12 23:40:45 -07:00
Fix lint
This commit is contained in:
@@ -8,7 +8,7 @@ module Liquid
|
|||||||
# c = Condition.new(1, '==', 1)
|
# c = Condition.new(1, '==', 1)
|
||||||
# c.evaluate #=> true
|
# c.evaluate #=> true
|
||||||
#
|
#
|
||||||
class Condition #:nodoc:
|
class Condition # :nodoc:
|
||||||
@@operators = {
|
@@operators = {
|
||||||
'==' => ->(cond, left, right) { cond.send(:equal_variables, left, right) },
|
'==' => ->(cond, left, right) { cond.send(:equal_variables, left, right) },
|
||||||
'!=' => ->(cond, left, right) { !cond.send(:equal_variables, left, right) },
|
'!=' => ->(cond, left, right) { !cond.send(:equal_variables, left, right) },
|
||||||
|
|||||||
Reference in New Issue
Block a user