Class: Rama::Project

Inherits:
Object
  • Object
show all
Defined in:
lib/rama/project.rb

Instance Method Summary collapse

Constructor Details

#initialize(name, options = []) ⇒ Project

Returns a new instance of Project.



7
8
9
10
11
# File 'lib/rama/project.rb', line 7

def initialize(name, options = [])
  @name      = name
  @options   = options
  @directory = "#{Dir.getwd}/#{name}"
end

Instance Method Details

#createObject



13
14
15
16
# File 'lib/rama/project.rb', line 13

def create
  puts "Creating project #{@name}"
  create_basic_files
end