Class: MxxRu::Cpp::MswinResInfo

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

Overview

Class, describing mswin-res-info.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from TargetWithFullPath

#full_name

Constructor Details

#initialize(a_file_name, a_path) ⇒ MswinResInfo

Returns a new instance of MswinResInfo.



76
77
78
79
80
81
82
83
# File 'lib/mxx_ru/cpp/toolset.rb', line 76

def initialize( a_file_name, a_path )
  super( a_file_name, a_path )

  # File name of mswin-res-file without a folder.
  @file_name = a_file_name
  # Folder where mswin-res-file should be.
  @path = a_path
end

Instance Attribute Details

#file_nameObject (readonly)

Returns the value of attribute file_name.



73
74
75
# File 'lib/mxx_ru/cpp/toolset.rb', line 73

def file_name
  @file_name
end

#pathObject (readonly)

Returns the value of attribute path.



74
75
76
# File 'lib/mxx_ru/cpp/toolset.rb', line 74

def path
  @path
end