Sha256: 924722f097b1466ec18d0f8ad30dd2c5db45a288e4be237c84e9fcc3fc4a82fd
Contents?: true
Size: 351 Bytes
Versions: 8
Compression:
Stored size: 351 Bytes
Contents
module Bio class Graphics class Primitive attr_reader :primitive def initialize(primitive,args) @primitive = primitive args.each_key do |k| self.instance_variable_set("@#{k}", args[k]) end end def update(args) args.each_key do |k| self.instance_variable_set("@#{k}", args[k]) end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems