From d497bfffe983de2834023a1f0e5217e542280d20 Mon Sep 17 00:00:00 2001 From: Jake Olney Date: Mon, 6 Jun 2022 13:41:56 -0700 Subject: [PATCH] update for and tablerow --- lib/liquid/forloop_drop.rb | 4 ++-- lib/liquid/tablerowloop_drop.rb | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/liquid/forloop_drop.rb b/lib/liquid/forloop_drop.rb index d0d67ff4..587c6105 100644 --- a/lib/liquid/forloop_drop.rb +++ b/lib/liquid/forloop_drop.rb @@ -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 diff --git a/lib/liquid/tablerowloop_drop.rb b/lib/liquid/tablerowloop_drop.rb index a6359756..b24e734a 100644 --- a/lib/liquid/tablerowloop_drop.rb +++ b/lib/liquid/tablerowloop_drop.rb @@ -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