Also, while you are in here, why don't you take out the trash and remove class << self and update to def self.etc if you want. Use private_class_method after method def for private methods.