Class: Confire

Inherits:
Object
  • Object
show all
Defined in:
lib/confire.rb,
lib/confire/main.rb,
lib/confire/parser.rb,
lib/confire/processor.rb,
lib/confire/project_creator.rb

Defined Under Namespace

Classes: Main, Parser, Processor, ProjectCreator

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(project_name) ⇒ Confire

Returns a new instance of Confire.



3
4
5
6
# File 'lib/confire.rb', line 3

def initialize(project_name)
  project_creator = ProjectCreator.new
  project_creator.create project_name
end

Class Method Details

.rootObject



7
8
9
# File 'lib/confire.rb', line 7

def self.root
  File.dirname __dir__
end