update for and tablerow

This commit is contained in:
Jake Olney
2022-06-27 15:10:22 -04:00
committed by Melanie Wang
parent ebafb0a3fe
commit d497bfffe9
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ module Liquid
# @liquid_type object
# @liquid_name forloop
# @liquid_summary
# The `forloop` object contains information about a parent [`for` loop](/api/liquid/tags#for).
# Information about a parent [`for` loop](/api/liquid/tags#for).
class ForloopDrop < Drop
def initialize(name, length, parentloop)
@name = name
@@ -17,7 +17,7 @@ module Liquid
# @liquid_public_docs
# @liquid_name forloop.length
# @liquid_summary
# The number of iterations.
# The total number of iterations in the loop.
# @liquid_return [number]
attr_reader :length
+3 -3
View File
@@ -3,9 +3,9 @@
module Liquid
# @liquid_public_docs
# @liquid_type object
# @liquid_name tablerow
# @liquid_name tablerowloop
# @liquid_summary
# The `tablerow` object contains information about a parent [`tablerow` loop](/api/liquid/tags#tablerow).
# Information about a parent [`tablerow` loop](/api/liquid/tags#tablerow).
class TablerowloopDrop < Drop
def initialize(length, cols)
@length = length
@@ -17,7 +17,7 @@ module Liquid
# @liquid_public_docs
# @liquid_summary
# The number of iterations.
# The total number of iterations in the loop.
# @liquid_return [number]
attr_reader :length