Given a Class, returns if the object‘s (another Class) ancestors contain that class.
[Source]
# File lib/dbi.rb, line 67 67: def inherits_from?(klass) 68: self.ancestors.include?(klass) 69: end
[Validate]