Class: Dflat::Version::Empty

Inherits:
Dir
  • Object
show all
Defined in:
lib/dflat/version.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Dir

load, #manifest, #manifest!, #version

Class Method Details

.mkdir(path, integer = 0777, args = {}) ⇒ Object



34
35
36
37
38
39
# File 'lib/dflat/version.rb', line 34

def self.mkdir path, integer = 0777, args = {}
  super path, integer
	File.open(File.join(path, 'empty.txt')) do |f|
    f << "empty"
	end
end

Instance Method Details

#listObject



41
42
43
# File 'lib/dflat/version.rb', line 41

def list
  []
end