Class: Superstore::Type
- Inherits:
-
Object
- Object
- Superstore::Type
- Defined in:
- lib/superstore/type.rb
Class Method Summary collapse
Class Method Details
.get_type_class(name) ⇒ Object
11 12 13 |
# File 'lib/superstore/type.rb', line 11 def get_type_class(name) attribute_types[name] end |
.register(name, type) ⇒ Object
7 8 9 |
# File 'lib/superstore/type.rb', line 7 def register(name, type) attribute_types[name] = type end |