# File lib/randexp/wordlists/real_name.rb, line 2 def self.load_surnames dir = File.dirname(__FILE__) if File.exists?("#{dir}/../../../wordlists/surnames") File.read("#{dir}/../../../wordlists/surnames").split else raise "words file not found" end end