Module: Cear

Defined in:
lib/cear/file.rb,
lib/cear.rb,
lib/cear/project.rb,
lib/cear/version.rb

Overview

What is the project name ? Do you want to include redis ? Do you want to include pg ?

Defined Under Namespace

Classes: File, Project

Constant Summary collapse

VERSION =
"0.4.0"

Class Method Summary collapse

Class Method Details

.run(__app_name = nil) ⇒ Object



21
22
23
24
25
26
27
# File 'lib/cear.rb', line 21

def self.run(__app_name = nil)
	if __app_name != nil and __app_name.end_with?('.rb')
		Cear::File.run(__app_name)
	else
		Cear::Project.run(__app_name)
	end
end