class Rails::Generators::Base
def self.usage_path
def self.usage_path paths = [ source_root && File.expand_path("../USAGE", source_root), default_generator_root && File.join(default_generator_root, "USAGE") ] paths.compact.detect { |path| File.exists? path } end