Class: ObjectFile
- Inherits:
-
Object
- Object
- ObjectFile
- Defined in:
- lib/rakepp/objectfile.rb
Instance Attribute Summary collapse
-
#includes ⇒ Object
readonly
Returns the value of attribute includes.
-
#outFile ⇒ Object
Returns the value of attribute outFile.
-
#privateDefines ⇒ Object
readonly
Returns the value of attribute privateDefines.
-
#source ⇒ Object
readonly
Returns the value of attribute source.
-
#targetDir ⇒ Object
readonly
Returns the value of attribute targetDir.
Instance Method Summary collapse
- #dep_file ⇒ Object
-
#initialize(compiler, source, targetDir, includes, privateDefines = []) ⇒ ObjectFile
constructor
A new instance of ObjectFile.
Constructor Details
#initialize(compiler, source, targetDir, includes, privateDefines = []) ⇒ ObjectFile
Returns a new instance of ObjectFile.
4 5 6 7 8 9 10 |
# File 'lib/rakepp/objectfile.rb', line 4 def initialize(compiler, source, targetDir, includes, privateDefines=[]) @source = source @targetDir = targetDir @includes = includes @privateDefines = privateDefines compiler.add_tasks(self) end |
Instance Attribute Details
#includes ⇒ Object (readonly)
Returns the value of attribute includes.
2 3 4 |
# File 'lib/rakepp/objectfile.rb', line 2 def includes @includes end |
#outFile ⇒ Object
Returns the value of attribute outFile.
2 3 4 |
# File 'lib/rakepp/objectfile.rb', line 2 def outFile @outFile end |
#privateDefines ⇒ Object (readonly)
Returns the value of attribute privateDefines.
2 3 4 |
# File 'lib/rakepp/objectfile.rb', line 2 def privateDefines @privateDefines end |
#source ⇒ Object (readonly)
Returns the value of attribute source.
2 3 4 |
# File 'lib/rakepp/objectfile.rb', line 2 def source @source end |
#targetDir ⇒ Object (readonly)
Returns the value of attribute targetDir.
2 3 4 |
# File 'lib/rakepp/objectfile.rb', line 2 def targetDir @targetDir end |
Instance Method Details
#dep_file ⇒ Object
12 13 14 |
# File 'lib/rakepp/objectfile.rb', line 12 def dep_file() return "#{outFile}.dependencies" end |