# print out a brief summary of a ruby file.

while gets
    print if /(def|class|module)/
end