class Albacore::Package

a package encapsulates the properties of a set package with a distinct path, version and id

Attributes

id[R]

id of the package as known by nuget

path[R]

path of the package in question

Public Class Methods

new(id, path) click to toggle source

create a new package with the given id and path

# File lib/albacore/package.rb, line 14
def initialize id, path
  @id = id
  @path = path
end

Public Instance Methods

to_s() click to toggle source
# File lib/albacore/package.rb, line 19
def to_s
  "Package[#{path}]"
end