Class: AppInfo::PE::VersionInfo
- Inherits:
-
Object
- Object
- AppInfo::PE::VersionInfo
- Defined in:
- lib/app_info/pe.rb
Overview
VersionInfo class
Instance Method Summary collapse
- #assembly_version ⇒ String
- #company_name ⇒ String
- #copyright ⇒ String
- #file_description ⇒ String?
- #file_version ⇒ String
-
#initialize(raw) ⇒ VersionInfo
constructor
A new instance of VersionInfo.
- #internal_name ⇒ String
- #legal_trademarks ⇒ String
- #original_filename ⇒ String
- #private_build ⇒ String?
- #product_name ⇒ String
- #product_version ⇒ String
- #special_build ⇒ String?
Constructor Details
#initialize(raw) ⇒ VersionInfo
Returns a new instance of VersionInfo.
231 232 233 |
# File 'lib/app_info/pe.rb', line 231 def initialize(raw) @raw = raw end |
Instance Method Details
#assembly_version ⇒ String
251 252 253 |
# File 'lib/app_info/pe.rb', line 251 def assembly_version @assembly_version ||= value_of('Assembly Version') end |
#company_name ⇒ String
236 237 238 |
# File 'lib/app_info/pe.rb', line 236 def company_name @company_name ||= value_of('CompanyName') end |
#copyright ⇒ String
291 292 293 |
# File 'lib/app_info/pe.rb', line 291 def copyright @copyright ||= value_of('LegalCopyright') end |
#file_description ⇒ String?
261 262 263 |
# File 'lib/app_info/pe.rb', line 261 def file_description @file_description ||= value_of('FileDescription') end |
#file_version ⇒ String
256 257 258 |
# File 'lib/app_info/pe.rb', line 256 def file_version @file_version ||= value_of('FileVersion') end |
#internal_name ⇒ String
281 282 283 |
# File 'lib/app_info/pe.rb', line 281 def internal_name @internal_name ||= value_of('InternalName') end |
#legal_trademarks ⇒ String
286 287 288 |
# File 'lib/app_info/pe.rb', line 286 def legal_trademarks @legal_trademarks ||= value_of('LegalTrademarks') end |
#original_filename ⇒ String
276 277 278 |
# File 'lib/app_info/pe.rb', line 276 def original_filename @original_filename ||= value_of('OriginalFilename') end |
#private_build ⇒ String?
271 272 273 |
# File 'lib/app_info/pe.rb', line 271 def private_build @private_build ||= value_of('PrivateBuild') end |
#product_name ⇒ String
241 242 243 |
# File 'lib/app_info/pe.rb', line 241 def product_name @product_name ||= value_of('ProductName') end |
#product_version ⇒ String
246 247 248 |
# File 'lib/app_info/pe.rb', line 246 def product_version @product_version ||= value_of('ProductVersion') end |
#special_build ⇒ String?
266 267 268 |
# File 'lib/app_info/pe.rb', line 266 def special_build @special_build ||= value_of('SpecialBuild') end |