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

Version Path
atome-0.5.6.2.1 vendor/assets/application/examples/unit.rb
atome-0.5.6.2.0 vendor/assets/application/examples/unit.rb
atome-0.5.6.1.9 vendor/assets/application/examples/unit.rb
atome-0.5.6.1.4 vendor/assets/application/examples/unit.rb
atome-0.5.6.1.1 vendor/assets/application/examples/unit.rb
atome-0.5.6.1.0 vendor/assets/application/examples/unit.rb
atome-0.5.6.0.4 vendor/assets/application/examples/unit.rb
atome-0.5.6.0.3 vendor/assets/application/examples/unit.rb
atome-0.5.6.0.2 vendor/assets/application/examples/unit.rb