Class: Linner::Bundler::Bundle

Inherits:
Struct
  • Object
show all
Defined in:
lib/linner/bundler.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



10
11
12
# File 'lib/linner/bundler.rb', line 10

def name
  @name
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



10
11
12
# File 'lib/linner/bundler.rb', line 10

def url
  @url
end

#versionObject

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



10
11
12
# File 'lib/linner/bundler.rb', line 10

def version
  @version
end

Instance Method Details

#pathObject



11
12
13
# File 'lib/linner/bundler.rb', line 11

def path
  File.join(REPOSITORY, name, version, File.basename(url))
end