rspec/rspec-expectations — pull request #697 by JonRowe (2014-12-09 03:21:59+00:00)
Title: Rename type to class internally

There has been some discussion about us conflating types and classes:

@myronmarston @JonRowe [1/?] I noticed RSpec seems to conflate Ruby's classes with types, in both the docs (http://t.co/rkyTrIIOSh) and the

— friendly catduck™ (@duckinator) December 9, 2014

@myronmarston @JonRowe [2/?] various codebases (https://t.co/jamOJhnIpp). I'd be willing to fix that if you all are interested; but, if you

— friendly catduck™ (@duckinator) December 9, 2014

@myronmarston @JonRowe [3/3] are, how would you want me to approach the code side of it? Are their exposed APIs that this would break?

— friendly catduck™ (@duckinator) December 9, 2014

Now I disagree that the matcher is incorrectly named (as it's a documentation heading only) but these changes are distinctly classes (and not sample data referring to type either) so I saw no harm in making them.

/cc @duckinator