CKRepetition

Class/Module:
Class
In:
lib/cgikit.rb
Parent:
CKElement

Description

A CKRepeition object repeats its contents.

Bindings

Required attributes: list and item, or count

count:CKRepeition repeats its contents this number of times. The attribute conflicts with "list".
list:Array which is iterated through.
item:Current item when the list is iterated through.
index:Index of the current item.

Programming Topics

Methods

own_attributes
run
to_s

Included modules

ElementAttribute

Public Class Methods

own_attributes()

Public Instance Methods

run()
to_s()