class Class

Public Instance Methods

ancestor_class() click to toggle source

Parent class, first ancestor

# File lib/deployable/patch/class_ancestor.rb, line 9
def ancestor_class
  list = ancestor_classes
  self if list.length == 0
  ancestor_classes[1]
end
ancestor_classes() click to toggle source

Remove the modules from the classes

# File lib/deployable/patch/class_ancestor.rb, line 4
def ancestor_classes
  ancestors - included_modules
end