module Thor::Base::ClassMethods
def from_superclass(method, default=nil)
Retrieves a value from superclass. If it reaches the baseclass,
def from_superclass(method, default=nil) if self == baseclass || !superclass.respond_to?(method, true) default else value = superclass.send(method) if value if value.is_a?(TrueClass) || value.is_a?(Symbol) value else value.dup end end end end