Class: Linner::Bundler::Bundle
- Inherits:
-
Struct
- Object
- Struct
- Linner::Bundler::Bundle
- Defined in:
- lib/linner/bundler.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#url ⇒ Object
Returns the value of attribute url.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
10 11 12 |
# File 'lib/linner/bundler.rb', line 10 def name @name end |
#url ⇒ Object
Returns the value of attribute url
10 11 12 |
# File 'lib/linner/bundler.rb', line 10 def url @url end |
#version ⇒ Object
Returns the value of attribute version
10 11 12 |
# File 'lib/linner/bundler.rb', line 10 def version @version end |
Instance Method Details
#path ⇒ Object
11 12 13 |
# File 'lib/linner/bundler.rb', line 11 def path File.join(REPOSITORY, name, version, File.basename(url)) end |