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.



5
6
7
8
9
# File 'lib/rama/project.rb', line 5

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

Instance Method Details

#createObject



11
12
13
14
# File 'lib/rama/project.rb', line 11

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