Sha256: 187b7ab85beec5cf1944e774981a1a97d1837ccb8a9647b0bcc5c4a4c0ba6804
Contents?: true
Size: 354 Bytes
Versions: 1
Compression:
Stored size: 354 Bytes
Contents
u = up.util class up.Record fields: -> throw 'Return an array of property names' constructor: (options) -> u.assign(this, @attributes(options)) attributes: (source = @) => u.only(source, @fields()...) copy: (changes = {}) => attributesWithChanges = u.merge(@attributes(), changes) new @constructor(attributesWithChanges)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
unpoly-rails-0.57.0 | lib/assets/javascripts/unpoly/classes/record.coffee |