Ciao ragazzi
Vorrei fare una cosa del genere:
Input:
a = [{:scan_name=>“cse”, :ip=>" 12"}, {:scan_name=>“e”, :ip=>“18”},
{:scan_name=>“df”, :ip=>“18”}]
Output:
b = [ {:scan_name=>“e”, :ip=>“18”}, {:scan_name=>“df”, :ip=>“18”}]
- Input
a = [{:scan_name=>“cse”, :ip=>" 12"}, {:scan_name=>“e”, :ip=>“18”},
{:scan_name=>“df”, :ip=>“18”}]
Output:
b = [ {:scan_name=>“cse”, :ip=>" 12"}]
Come fare?
Grazie mille