Sha256: 63f9ff040e640d958ef1a781712159ff9970b58f66f790aaa3b4934974949f9c
Contents?: true
Size: 351 Bytes
Versions: 8
Compression:
Stored size: 351 Bytes
Contents
# frozen_string_literal: true # the materials method is used to retrieve or delete all children with a visual rendering # but leave alone other atome such as color b = box cc2 = color(:yellow) b.color(:red) c = b.circle c.attached(cc2.id) b.text(:hello) b.add(text: { data: :ok, left: 133 }) wait 2 do b.delete(:materials) puts "b is : #{b}" end
Version data entries
8 entries across 8 versions & 1 rubygems