Class: Vcvars::Locator::Installation
- Inherits:
-
Struct
- Object
- Struct
- Vcvars::Locator::Installation
- Defined in:
- lib/vcvars/locator.rb
Instance Attribute Summary collapse
-
#arch ⇒ Object
Returns the value of attribute arch.
-
#name ⇒ Object
Returns the value of attribute name.
-
#vcvars ⇒ Object
Returns the value of attribute vcvars.
-
#version ⇒ Object
Returns the value of attribute version.
-
#vs_path ⇒ Object
Returns the value of attribute vs_path.
Instance Method Summary collapse
Instance Attribute Details
#arch ⇒ Object
Returns the value of attribute arch
35 36 37 |
# File 'lib/vcvars/locator.rb', line 35 def arch @arch end |
#name ⇒ Object
Returns the value of attribute name
35 36 37 |
# File 'lib/vcvars/locator.rb', line 35 def name @name end |
#vcvars ⇒ Object
Returns the value of attribute vcvars
35 36 37 |
# File 'lib/vcvars/locator.rb', line 35 def vcvars @vcvars end |
#version ⇒ Object
Returns the value of attribute version
35 36 37 |
# File 'lib/vcvars/locator.rb', line 35 def version @version end |
#vs_path ⇒ Object
Returns the value of attribute vs_path
35 36 37 |
# File 'lib/vcvars/locator.rb', line 35 def vs_path @vs_path end |
Instance Method Details
#to_s ⇒ Object
36 37 38 |
# File 'lib/vcvars/locator.rb', line 36 def to_s "#{name || 'Visual Studio'}#{version ? " (#{version})" : ''} at #{vs_path}" end |