Regard *.cap as Ruby file