Class: NetLinx::Rake::SrcIgnore

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

Overview

Generate a default .srcignore file.

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (SrcIgnore) initialize(name = :srcignore) {|_self| ... }

Returns a new instance of SrcIgnore

Yields:

  • (_self)

Yield Parameters:



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

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

def name
  @name
end