Class: Cupper::Structure

Inherits:
Object
  • Object
show all
Includes:
Entity
Defined in:
lib/cupper/project.rb

Constant Summary

Constants included from Entity

Entity::DIR, Entity::FILE

Instance Method Summary collapse

Methods included from Entity

#content, #create, #dir?, #exist?, #file?, #full_path, #render_template, #save

Constructor Details

#initialize(name, dest_path, erb_file = nil, type = nil) ⇒ Structure

Returns a new instance of Structure.



9
10
11
# File 'lib/cupper/project.rb', line 9

def initialize(name,dest_path, erb_file = nil, type = nil)
  super(name, dest_path, erb_file, type)
end