Method: ClassKit::CustomType#to_hash_value

Defined in:
lib/class_kit/custom_type.rb

#to_hash_valueObject

This method must return the value that will be serialised for the attribute

Raises:

  • (NotImplementedError)


18
19
20
# File 'lib/class_kit/custom_type.rb', line 18

def to_hash_value
  raise NotImplementedError
end