Sha256: 4c40a22967a0f593855257c30c00a055e5ff7af236412380dacdc0509008e52b
Contents?: true
Size: 277 Bytes
Versions: 6
Compression:
Stored size: 277 Bytes
Contents
module Access class Organization def initialize(values) self.class.class_eval {attr_reader *values.keys } values.each do |attribute_name, attribute_value| self.instance_variable_set("@#{attribute_name}", attribute_value) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems