Class: MxxRu::Cpp::ExeInfo
- Inherits:
-
TargetWithFullPath
- Object
- TargetWithFullPath
- MxxRu::Cpp::ExeInfo
- Defined in:
- lib/mxx_ru/cpp/toolset.rb
Overview
Class, describing EXE-file.
Instance Attribute Summary collapse
-
#file_name ⇒ Object
readonly
Returns the value of attribute file_name.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(a_file_name, a_path) ⇒ ExeInfo
constructor
A new instance of ExeInfo.
Methods inherited from TargetWithFullPath
Constructor Details
#initialize(a_file_name, a_path) ⇒ ExeInfo
Returns a new instance of ExeInfo.
115 116 117 118 119 120 121 122 |
# File 'lib/mxx_ru/cpp/toolset.rb', line 115 def initialize( a_file_name, a_path ) super( a_file_name, a_path ) # File name of exe file without a folder. @file_name = a_file_name # Folder where exe file should be. @path = a_path end |
Instance Attribute Details
#file_name ⇒ Object (readonly)
Returns the value of attribute file_name.
112 113 114 |
# File 'lib/mxx_ru/cpp/toolset.rb', line 112 def file_name @file_name end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
113 114 115 |
# File 'lib/mxx_ru/cpp/toolset.rb', line 113 def path @path end |