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 attrs = { :name => _builder_name, :value => val }.merge(attrs) super(attrs) end end value :name value :value value :prompt end end