Class: Rama::Project
- Inherits:
-
Object
- Object
- Rama::Project
- Defined in:
- lib/rama/project.rb
Instance Method Summary collapse
- #create ⇒ Object
-
#initialize(name, options = []) ⇒ Project
constructor
A new instance of Project.
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, = []) @name = name @options = @directory = "#{Dir.getwd}/#{name}" end |
Instance Method Details
#create ⇒ Object
11 12 13 14 |
# File 'lib/rama/project.rb', line 11 def create puts "Creating project #{@name}" create_basic_files end |