Sha256: bccfff819205298b9e1a4ccd9dcd20e139ba3f60e29f1aa25e31a1b52dffb35a
Contents?: true
Size: 352 Bytes
Versions: 69
Compression:
Stored size: 352 Bytes
Contents
# frozen_string_literal: true box({ left: 50, id: :the_first_box, color: :blue }) b1=box({ left: 12, id: :the_second_box ,top: 3, unit: {left: '%', width: '%'}, color: :red}) box({ left: 550, id: :the_third_box , unit: {left: :px}, color: :green}) wait 2 do b1.unit({left: 'cm'}) b1.unit({top: 'cm'}) # b1.unit[:top]='cm' puts b1.unit end
Version data entries
69 entries across 69 versions & 1 rubygems