Class: MxxRu::Cpp::LibInfo
- Inherits:
-
TargetWithFullPath
- Object
- TargetWithFullPath
- MxxRu::Cpp::LibInfo
- Defined in:
- lib/mxx_ru/cpp/toolset.rb
Overview
Class, describing a library.
Instance Attribute Summary collapse
-
#file_name ⇒ Object
readonly
Returns the value of attribute file_name.
-
#link_name ⇒ Object
readonly
Returns the value of attribute link_name.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(a_file_name, a_path, a_link_name) ⇒ LibInfo
constructor
A new instance of LibInfo.
Methods inherited from TargetWithFullPath
Constructor Details
#initialize(a_file_name, a_path, a_link_name) ⇒ LibInfo
Returns a new instance of LibInfo.
95 96 97 98 99 100 101 102 103 104 |
# File 'lib/mxx_ru/cpp/toolset.rb', line 95 def initialize( a_file_name, a_path, a_link_name ) super( a_file_name, a_path ) # File name of library file without a folder. @file_name = a_file_name # Folder where library file should be. @path = a_path # The name should be passed to the linker. @link_name = a_link_name end |
Instance Attribute Details
#file_name ⇒ Object (readonly)
Returns the value of attribute file_name.
91 92 93 |
# File 'lib/mxx_ru/cpp/toolset.rb', line 91 def file_name @file_name end |
#link_name ⇒ Object (readonly)
Returns the value of attribute link_name.
93 94 95 |
# File 'lib/mxx_ru/cpp/toolset.rb', line 93 def link_name @link_name end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
92 93 94 |
# File 'lib/mxx_ru/cpp/toolset.rb', line 92 def path @path end |