Module: TypedFields::ClassMethods
- Defined in:
- lib/typed_fields.rb
Instance Method Summary collapse
Instance Method Details
#saved_type_info ⇒ Object
80 81 82 83 84 85 86 87 |
# File 'lib/typed_fields.rb', line 80 def saved_type_info name = :@@fields_type_information if class_variable_defined?(name) class_variable_get(name) else class_variable_set(name, []) end end |