Use inherits() to test an object's class.
Merge pull request #28 from concretevitamin/master

Use inherits() to test an object's class.