def director_person
      begin
        link=doc.xpath("//h4[contains(., 'Director')]/..").at('a[@href^="/name/nm"]')
        profile = link['href'].match(/\/name\/nm([0-9]+)/)[1] rescue nil
        IMDB::Person.new(profile) unless profile.nil?
      rescue
        nil
      end
    end
def director_person
      begin
        link=doc.xpath("//h4[contains(., 'Director')]/..").at('a[@href^="/name/nm"]')
        profile = link['href'].match(/\/name\/nm([0-9]+)/)[1] rescue nil
        IMDB::Person.new(profile) unless profile.nil?
      rescue
        nil
      end
    end
Get Director Person class
 @return [Person]