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.5'

Class Method Summary collapse

Class Method Details

.boot!Object

Setup the Corrupt environment.



34
35
36
# File 'lib/corrupt.rb', line 34

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

.to_versionObject

Output a version string.



39
40
41
# File 'lib/corrupt.rb', line 39

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