I have two array's as follows:
["first_name", "last_name", "email_id", "company"]
["Andy", "Martin", "[email protected]", nil]
I need to construct this as hash as like this.
{"first_name"=>"Andy", "last_name"=>"Martin", "email_id"=>"[email protected]", "company"=>nil}
Is it possible in Ruby? If, then how to do that?