class HashMaybe I'll see about submitting them to ruby core.
def intersection_is_equal?(other)
keys=self.keys.to_set.intersection(other.keys.to_set).to_a
self.select{|k,v|keys.include? k}.to_h== other.select{|k,v|keys.include? k}.to_h
end
end
Long story short, it's actually doing what it's supposed to do. AND I'm about to have a whole month of super overtime working on it with no one to randomly change the direction of the project.
Been writing alot of project specific code generators that are a part of my build process.
SVN is amazing, why I wasn't required to take 2 semesters on the pragprog starter kit is quite beyond me. Why I didn't have a class called "writing code generators" I'll never know.