Class: Bake::License

Inherits:
Object
  • Object
show all
Defined in:
lib/bake/options/showLicense.rb

Class Method Summary collapse

Class Method Details

.showObject



3
4
5
6
7
# File 'lib/bake/options/showLicense.rb', line 3

def self.show
  licenseFile = File.join(File.dirname(__FILE__), "../../../license.txt")
  puts "\n" + File.read(licenseFile)
  ExitHelper.exit(0)
end