Class: NetLinx::Rake::Pack

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

Overview

Generate a NetLinx .src source code package.

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (Pack) initialize(name = :pack) {|_self| ... }

Returns a new instance of Pack

Yields:

  • (_self)

Yield Parameters:



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

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

Instance Attribute Details

- (Object) name

Returns the value of attribute name



12
13
14
# File 'lib/netlinx/rake/src/pack.rb', line 12

def name
  @name
end