Class: Vcdeps::Port

Inherits:
Struct
  • Object
show all
Defined in:
lib/vcdeps/installed.rb

Overview

One installed port (name/version/triplet), parsed from an info-list filename.

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



5
6
7
# File 'lib/vcdeps/installed.rb', line 5

def name
  @name
end

#tripletObject

Returns the value of attribute triplet

Returns:

  • (Object)

    the current value of triplet



5
6
7
# File 'lib/vcdeps/installed.rb', line 5

def triplet
  @triplet
end

#versionObject

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



5
6
7
# File 'lib/vcdeps/installed.rb', line 5

def version
  @version
end