Sha256: f4fdf7a2987846451ff99139d5f275bc8bdd43b1342615f5374e7364c008a2ca

Contents?: true

Size: 257 Bytes

Versions: 8

Compression:

Stored size: 257 Bytes

Contents

module  Opsk
  class Clean < Thor::Group
    include Thorable, Thor::Actions

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

    def name 
     	File.basename(Dir.getwd)
    end

    def cleanup
	remove_dir('pkg')
    end

  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
opskeleton-0.6.9 lib/opskeleton/clean.rb
opskeleton-0.6.7 lib/opskeleton/clean.rb
opskeleton-0.6.6 lib/opskeleton/clean.rb
opskeleton-0.6.5 lib/opskeleton/clean.rb
opskeleton-0.6.4 lib/opskeleton/clean.rb
opskeleton-0.6.3 lib/opskeleton/clean.rb
opskeleton-0.6.2 lib/opskeleton/clean.rb
opskeleton-0.6.0 lib/opskeleton/clean.rb