Class: MxxRu::Cpp::ObjInfo
- Inherits:
-
Object
- Object
- MxxRu::Cpp::ObjInfo
- Defined in:
- lib/mxx_ru/cpp/toolset.rb
Overview
Class, describing object file.
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
The name of object file.
-
#options ⇒ Object
readonly
The list of additional compiler options for that file.
-
#source ⇒ Object
readonly
The name of source file.
Instance Method Summary collapse
-
#initialize(a_name, a_source, a_options) ⇒ ObjInfo
constructor
A new instance of ObjInfo.
Constructor Details
#initialize(a_name, a_source, a_options) ⇒ ObjInfo
Returns a new instance of ObjInfo.
45 46 47 48 49 |
# File 'lib/mxx_ru/cpp/toolset.rb', line 45 def initialize( a_name, a_source, ) @name = a_name @source = a_source @options = end |
Instance Attribute Details
#name ⇒ Object (readonly)
The name of object file.
38 39 40 |
# File 'lib/mxx_ru/cpp/toolset.rb', line 38 def name @name end |
#options ⇒ Object (readonly)
The list of additional compiler options for that file. Array of String.
43 44 45 |
# File 'lib/mxx_ru/cpp/toolset.rb', line 43 def @options end |
#source ⇒ Object (readonly)
The name of source file.
40 41 42 |
# File 'lib/mxx_ru/cpp/toolset.rb', line 40 def source @source end |