Class: NetLinx::Rake::RmZip

Inherits:
Rake::TaskLib
  • Object
show all
Defined in:
lib/netlinx/rake/src/rmzip.rb

Overview

Delete .src.zip files.

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (RmZip) initialize(name = :rmzip) {|_self| ... }

Returns a new instance of RmZip

Yields:

  • (_self)

Yield Parameters:



14
15
16
17
18
19
20
# File 'lib/netlinx/rake/src/rmzip.rb', line 14

def initialize name = :rmzip
  @name = name
  
  yield self if block_given?
  
  define
end

Instance Attribute Details

- (Object) name

Returns the value of attribute name



11
12
13
# File 'lib/netlinx/rake/src/rmzip.rb', line 11

def name
  @name
end