Sha256: 378fc144714aaaf2dbddea27c61fd18dc4911fe245974286b2f1837ac87fc199
Contents?: true
Size: 935 Bytes
Versions: 22
Compression:
Stored size: 935 Bytes
Contents
CONTAINER OBJECT TYPE NAME: container SHORTCUT: can DESCRIPTION A container of other objects. A container is similar to a folder in a file system. It can contain any number of objects including other containers. The container structure provides direct access to any object within it through the object.object.object path-name structure. CHILDREN None by default. But any container can have any number of objects added to it. MESSAGES count - Count the number of children objects in the container. The result is put in <it>. delete_children - Delete all children objects from the container. show_key_value_tbl - Show a table with key (name) and values for all children in the container. EXAMPLE can [can] : data [can] : 1 : one 2 : two 3 : three on_load [script] : tell can.data to show_key_value_table SEE ALSO
Version data entries
22 entries across 22 versions & 2 rubygems