Class: Edployify::Dir

Inherits:
Object
  • Object
show all
Defined in:
lib/edployify/template.rb

Instance Method Summary collapse

Constructor Details

#initialize(path, base_path) ⇒ Dir

Returns a new instance of Dir.



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

def initialize(path, base_path)
	@path = File.join(base_path, path)
end

Instance Method Details

#mkdirObject



11
12
13
# File 'lib/edployify/template.rb', line 11

def mkdir
	FileUtils.mkdir_p(@path)
end