Skip to content

Commit 047fcee

Browse files
committed
feat: update container.rb
1 parent aa0ffa2 commit 047fcee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/ruby/lib/container/query.rb.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ module {{spec.title | caseUcfirst}}
2828

2929
def addQuery(attribute, oper, value)
3030
if value.is_a?(Array)
31-
"#{attribute}.#{oper}.(#{value.map {|item| parseValues(item)}.join(',')})"
31+
"#{attribute}.#{oper}(#{value.map {|item| parseValues(item)}.join(',')})"
3232
else
33-
return "#{attribute}.#{oper}.(#{parseValues(value)})"
33+
return "#{attribute}.#{oper}(#{parseValues(value)})"
3434
end
3535
end
3636

0 commit comments

Comments
 (0)