Class: MxxRu::Cpp::ExeInfo

Inherits:
TargetWithFullPath show all
Defined in:
lib/mxx_ru/cpp/toolset.rb

Overview

Class, describing EXE-file.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from TargetWithFullPath

#full_name

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_nameObject (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

#pathObject (readonly)

Returns the value of attribute path.



113
114
115
# File 'lib/mxx_ru/cpp/toolset.rb', line 113

def path
  @path
end