Sha256: 6a23a12dbab4bfa1a46cb469fff67fa267fe82ba47f811d9c0dbafcf1305debd
Contents?: true
Size: 527 Bytes
Versions: 12
Compression:
Stored size: 527 Bytes
Contents
<%- model = type.map[:model].type gen_type = type.map[:gen_type].type mappings = type.memo['mappings'] || [] import model.package import :gen, gen_type.package if mappings.any?{|m| m.args.length > 1} raise "Multiple arguments for result type mapping is not supported now" end if mappings.any?(&:returns_error) raise "returns_error (by writer) for result type mapping is not supported now" end if mappings.any?(&:requires_context) raise "requires_context (by saver) for result type mapping is not supported now" end -%>
Version data entries
12 entries across 12 versions & 1 rubygems