def call(definition, klass)
      is_a = is[definition.type]
      define_writer(definition, is_a, klass)
    end
def call(definition, klass)
      is_a = is[definition.type]
      define_writer(definition, is_a, klass)
    end
Creates write method with type-checking
 @param definition [Definition]
 @param klass [Class, Module]
 @return [Definition]