Module: Corrupt

Defined in:
lib/corrupt.rb,
lib/corrupt/app.rb,
lib/corrupt/client.rb,
lib/corrupt/config.rb,
lib/corrupt/router.rb,
lib/corrupt/system.rb,
lib/corrupt/template.rb,
lib/corrupt/generators.rb,
lib/corrupt/client/helpers.rb,
lib/corrupt/generators/app.rb,
lib/corrupt/framework/controller.rb

Defined Under Namespace

Modules: ClientHelpers, Controller, Generators Classes: App, Client, Config, Router, System, Template

Constant Summary collapse

VERSION =
'0.3.7'

Class Method Summary collapse

Class Method Details

.boot!Object

Setup the Corrupt environment. This just calls Corrupt::System.boot!



32
33
34
# File 'lib/corrupt.rb', line 32

def self.boot!
  Corrupt::System.boot!
end

.to_versionObject

Output the Corrupt version string.



37
38
39
# File 'lib/corrupt.rb', line 37

def self.to_version
  "Corrupt v#{VERSION}"
end