module Thor::Base::ClassMethods
def from_superclass(method, default=nil)
returns default.
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) value.dup if value end end