seamusabshere/data_miner

more concise synthesis

Opened this issue · 0 comments

        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']