Sha256: f442ec47d25c11e0a104d2c09a76b76305b98239b680ef01319c836a6f0e0480
Contents?: true
Size: 499 Bytes
Versions: 1
Compression:
Stored size: 499 Bytes
Contents
module Conglomerate module DatumBuilder include Conglomerate::ParticleBuilder builds Conglomerate::Datum module BuildOverride def build(attrs = {}) item = objects.first val = item.send(_builder_name) if item && item.respond_to?(_builder_name) attrs = { :name => _builder_name, :value => val }.merge(attrs) super(attrs) end end value :name value :value value :prompt value :type end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
conglomerate-0.13.0 | lib/conglomerate/datum_builder.rb |