Sha256: 0dedafc568dc760fd51d798b2da6de64668f2de24c9dd8d4ae2e718ad13710e8
Contents?: true
Size: 215 Bytes
Versions: 6
Compression:
Stored size: 215 Bytes
Contents
# # multiple values may by given, plain names and key/val pairs may be mixed. # require 'attributes' class C attributes 'x', 'y' => 0b101000, 'z' => 0b10 end c = C.new c.x = c.y + c.z p c.x #=> 42
Version data entries
6 entries across 6 versions & 2 rubygems
Version | Path |
---|---|
attributes1-5.0.3 | samples/c.rb |
attributes1-5.0.2 | samples/c.rb |
attributes-5.0.0 | samples/c.rb |
attributes-4.0.0 | samples/c.rb |
attributes-4.1.0 | samples/c.rb |
attributes-5.0.1 | samples/c.rb |