Sha256: e85af31d2965d7bd5b193624a8ef11c1d89992accc07b4826925152a6c6cb7e2
Contents?: true
Size: 308 Bytes
Versions: 13
Compression:
Stored size: 308 Bytes
Contents
module Superstore class Type cattr_accessor :attribute_types self.attribute_types = {}.with_indifferent_access class << self def register(name, type) attribute_types[name] = type end def get_type_class(name) attribute_types[name] end end end end
Version data entries
13 entries across 13 versions & 1 rubygems