Sha256: 82d9ab281798f72601e82d1599da5d3e134e75643b77829b1381f2b8c44fbfa6

Contents?: true

Size: 253 Bytes

Versions: 3

Compression:

Stored size: 253 Bytes

Contents

class IntervalWidget < Iowa::Component

	attr_accessor :interval

	def cacheable; false; end

	def dtn_asctime
		tn = Time.now
		dtn = DateTime.new(tn.year, tn.month, tn.day, tn.hour, tn.min, tn.sec)
		dtn = dtn + @interval.to_f
		dtn.asctime
	end

end

Version data entries

3 entries across 3 versions & 1 rubygems

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