Class: Qwandry::Package

Inherits:
Object
  • Object
show all
Defined in:
lib/qwandry/package.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, paths, repository) ⇒ Package

Returns a new instance of Package.



7
8
9
10
11
# File 'lib/qwandry/package.rb', line 7

def initialize(name, paths, repository)
  @name = name
  @repository = repository
  @paths = paths
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/qwandry/package.rb', line 3

def name
  @name
end

#pathsObject

Returns the value of attribute paths.



4
5
6
# File 'lib/qwandry/package.rb', line 4

def paths
  @paths
end

#repositoryObject (readonly)

Returns the value of attribute repository.



5
6
7
# File 'lib/qwandry/package.rb', line 5

def repository
  @repository
end