more concise synthesis
Opened this issue · 0 comments
rossmeissl commented
kvc.store :site_addr, :synthesize => lambda { |parcel| parcel.slice('No1', 'Street', 'Unit').values.map(&:strip).delete_if(&:empty?).join(' ') }
should be shortcut:
kvc.store :site_addr, :synthesize => ['No1', 'Street', 'Unit']