Object
Given a Class, returns if the object's (another Class) ancestors contain that class.
# File lib/dbi.rb, line 61 def inherits_from?(klass) self.ancestors.include?(klass) end