Class: NetLinx::Rake::MkZip

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

Overview

Copy .src file and append .zip.

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (MkZip) initialize(name = :mkzip) {|_self| ... }

Returns a new instance of MkZip

Yields:

  • (_self)

Yield Parameters:



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

def initialize name = :mkzip
  @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/mkzip.rb', line 11

def name
  @name
end