Class: BinaryLib

Inherits:
Object
  • Object
show all
Defined in:
lib/rakepp/binarylib.rb

Direct Known Subclasses

Framework

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(compiler, name, libs = [], includes = [], path = nil) ⇒ BinaryLib

Returns a new instance of BinaryLib.



5
6
7
8
9
10
11
# File 'lib/rakepp/binarylib.rb', line 5

def initialize(compiler, name, libs=[], includes=[], path=nil)
  @name = name
  @libs = libs
  @includes = includes
  @path = path
  compiler.add_tasks(self)
end

Instance Attribute Details

#includesObject (readonly)

Returns the value of attribute includes.



2
3
4
# File 'lib/rakepp/binarylib.rb', line 2

def includes
  @includes
end

#libsObject (readonly)

Returns the value of attribute libs.



2
3
4
# File 'lib/rakepp/binarylib.rb', line 2

def libs
  @libs
end

#nameObject (readonly)

Returns the value of attribute name.



2
3
4
# File 'lib/rakepp/binarylib.rb', line 2

def name
  @name
end

#outFileObject

Returns the value of attribute outFile.



2
3
4
# File 'lib/rakepp/binarylib.rb', line 2

def outFile
  @outFile
end

#pathObject (readonly)

Returns the value of attribute path.



2
3
4
# File 'lib/rakepp/binarylib.rb', line 2

def path
  @path
end