Sha256: 436512aea8fbb18e86b22f5fc79b1bf5158bcf4f4fae7cdfefb59b388f88a174

Contents?: true

Size: 242 Bytes

Versions: 2

Compression:

Stored size: 242 Bytes

Contents

c = circle

# the easy way
c.color(:red)

# the most performant way :

c.color(
  { render: [:html], id: :c319, type: :color,
    red: 1, green: 1, blue: 0.15, alpha: 0.6 }
)

# please note that render , id and type params must place in order

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
atome-0.4.7.0 vendor/assets/build/medias/rubies/examples/color.rb
atome-0.4.5.4 vendor/assets/build/medias/rubies/examples/color.rb