Sha256: 4dcf2fd4e823bd288573850866f6a552ad62987fd74a1e411ac5abc2e6069f9b
Contents?: true
Size: 291 Bytes
Versions: 15
Compression:
Stored size: 291 Bytes
Contents
module Clevic class ModelBuilder # Not sure if this is the right place to put it, but # try here and see if it works out. def plain_delegate( field ) if field.meta.type == :boolean BooleanDelegate.new( field ) else TextDelegate.new( field ) end end end end
Version data entries
15 entries across 15 versions & 1 rubygems