How do I get the domain from an email-adress in ruby?
>> email = "Sahil Grover" => "Sahil Grover" >> mail = Mail::Address.new(email) => #| > >> mail.instance_values => {"output_type"=>:decode, "parsed"=>true, "data"=>#, "display_name"=>"Sahil Grover"} >> mail.domain => "stackoverflow.com"