Class: Opsk::Clean

Inherits:
Thor::Group
  • Object
show all
Includes:
Thorable, Thor::Actions
Defined in:
lib/opskeleton/clean.rb

Instance Method Summary collapse

Methods included from Thorable

included

Instance Method Details

#cleanupObject



13
14
15
# File 'lib/opskeleton/clean.rb', line 13

def cleanup
	remove_dir('pkg')
end

#metaObject



5
6
7
# File 'lib/opskeleton/clean.rb', line 5

def meta 
	 OpenStruct.new(YAML.load_file('opsk.yml'))
end

#nameObject



9
10
11
# File 'lib/opskeleton/clean.rb', line 9

def name 
 	File.basename(Dir.getwd)
end