Sha256: 8bee14f75da1810be0bc5fe4fdf8619712c266c8d270e1138948d64997727bc5
Contents?: true
Size: 243 Bytes
Versions: 6
Compression:
Stored size: 243 Bytes
Contents
class HomePage < UnderOs::Page def initialize find('#buttons button').each do |button| button.on :tap do page = (button.data('page').capitalize + "Page").constantize history << page.new end end end end
Version data entries
6 entries across 6 versions & 1 rubygems