1 2 3 4 5 6 7 8
module WS class WSError < StandardError end def self.derived_from?(ancestor, child) child.ancestors.include?(ancestor) end end