Sha256: 54262e244e14423eda2c237e1e6b359e2935d7070a5efa1a026d730d2a8befef

Contents?: true

Size: 334 Bytes

Versions: 3

Compression:

Stored size: 334 Bytes

Contents

class Repeat2 < Iowa::Component

	attr_accessor :tidx

	def awake
		@tl2 = [1,2,3,4,5].collect {|x| x.to_s}
	end

	def twa
		@tl2.inspect
	end

	def test_list2
		@tl2
	end

	def test_item
		@tl2[@tidx]
	end

	def test_item=(val)
		@tl2[@tidx] = val
	end

end

<?
	test2 {
		item = tidx
		list = :eval; (0..(@tl2.length-1)).to_a
	}
?>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
IOWA-1.0.3 test/TC_IOWAFunctions/iowa/Repeat2.iwa
IOWA-1.0.2 test/TC_IOWAFunctions/iowa/Repeat2.iwa
IOWA-1.0.0 test/TC_IOWAFunctions/iowa/Repeat2.iwa