Class Class
In: lib/dbi.rb
Parent: Object

Methods

Public Instance methods

Given a Class, returns if the object‘s (another Class) ancestors contain that class.

[Source]

# File lib/dbi.rb, line 61
    def inherits_from?(klass)
        self.ancestors.include?(klass)
    end

[Validate]