Class: Vendor::VendorFile::Library::Local
- Defined in:
- lib/vendor/vendor_file/library/local.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
Returns the value of attribute path.
Attributes inherited from Base
#name, #parent, #require, #targets, #version
Instance Method Summary collapse
- #cache_path ⇒ Object
- #display_name ⇒ Object
-
#initialize(*args) ⇒ Local
constructor
A new instance of Local.
Methods inherited from Base
#<=>, #==, #build_settings, #dependencies, #description, #download, #files, #frameworks, #per_file_flag, #resources, #version_matches_any?
Constructor Details
#initialize(*args) ⇒ Local
Returns a new instance of Local.
9 10 11 12 |
# File 'lib/vendor/vendor_file/library/local.rb', line 9 def initialize(*args) super(*args) @source_tree = :absolute end |
Instance Attribute Details
#path ⇒ Object
Returns the value of attribute path.
7 8 9 |
# File 'lib/vendor/vendor_file/library/local.rb', line 7 def path @path end |
Instance Method Details
#cache_path ⇒ Object
14 15 16 |
# File 'lib/vendor/vendor_file/library/local.rb', line 14 def cache_path if path end |
#display_name ⇒ Object
18 19 20 |
# File 'lib/vendor/vendor_file/library/local.rb', line 18 def display_name [ name, "(#{})" ].join(' ') end |