Sha256: f9cf12aafbc2df9259677c3dc3b01031c3933d953db18bdbe95f2c656d2fea3f
Contents?: true
Size: 265 Bytes
Versions: 3
Compression:
Stored size: 265 Bytes
Contents
class AjaxWidget < Iowa::Component attr_accessor :counter def replaceable; true; end def fragment; true; end def awake; @counter = 0; end def increment_counter @counter += 1 yield self end def decrement_counter @counter -= 1 yield self end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
IOWA-1.0.3 | test/TC_IOWAFunctions/iowa/AjaxWidget.iwa |
IOWA-1.0.2 | test/TC_IOWAFunctions/iowa/AjaxWidget.iwa |
IOWA-1.0.0 | test/TC_IOWAFunctions/iowa/AjaxWidget.iwa |