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.7.6.5 vendor/assets/src/medias/utils/examples/particles/unit/example.rb
atome-0.5.7.6.0 vendor/assets/application/examples/unit.rb
atome-0.5.7.5.9 vendor/assets/application/examples/unit.rb
atome-0.5.7.5.4 vendor/assets/application/examples/unit.rb
atome-0.5.7.5.3 vendor/assets/application/examples/unit.rb
atome-0.5.7.5.1 vendor/assets/application/examples/unit.rb
atome-0.5.7.4.8 vendor/assets/application/examples/unit.rb
atome-0.5.7.4.7 vendor/assets/application/examples/unit.rb
atome-0.5.7.4.6 vendor/assets/application/examples/unit.rb
atome-0.5.7.4.3 vendor/assets/application/examples/unit.rb
atome-0.5.7.4.2 vendor/assets/application/examples/unit.rb
atome-0.5.7.3.9 vendor/assets/application/examples/unit.rb
atome-0.5.7.3.6 vendor/assets/application/examples/unit.rb
atome-0.5.7.3.5 vendor/assets/application/examples/unit.rb
atome-0.5.7.3.3 vendor/assets/application/examples/unit.rb
atome-0.5.7.3.2 vendor/assets/application/examples/unit.rb
atome-0.5.7.3.1 vendor/assets/application/examples/unit.rb
atome-0.5.7.3.0 vendor/assets/application/examples/unit.rb
atome-0.5.7.1.8 vendor/assets/application/examples/unit.rb
atome-0.5.7.1.7 vendor/assets/application/examples/unit.rb