Class: Opsk::Clean
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- Opsk::Clean
- Includes:
- Thorable, Thor::Actions
- Defined in:
- lib/opskeleton/clean.rb
Instance Method Summary collapse
Methods included from Thorable
Instance Method Details
#cleanup ⇒ Object
13 14 15 |
# File 'lib/opskeleton/clean.rb', line 13 def cleanup remove_dir('pkg') end |
#meta ⇒ Object
5 6 7 |
# File 'lib/opskeleton/clean.rb', line 5 def OpenStruct.new(YAML.load_file('opsk.yml')) end |
#name ⇒ Object
9 10 11 |
# File 'lib/opskeleton/clean.rb', line 9 def name File.basename(Dir.getwd) end |