Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (11 sloc) 342 Bytes
$:.unshift File.dirname(__FILE__)
require 'rubygems'
require 'ruby-fs-stack'
require 'authenticate'
require 'logger'
pedigree = Marshal.load(File.read('full_pedigree_marshalled.txt'))
surnames = pedigree.persons.collect do |p|
(p.full_name.nil?) ? nil : p.full_name.split(' ').last
end
surnames.reject!{|s|s.nil?}
puts surnames.join(' ')
Jump to Line
Something went wrong with that request. Please try again.