class VagrantPlugins::Cachier::Bucket::Bower

Public Class Methods

capability() click to toggle source
# File lib/vagrant-cachier/bucket/bower.rb, line 5
def self.capability
  :bower_path
end

Public Instance Methods

install() click to toggle source
# File lib/vagrant-cachier/bucket/bower.rb, line 9
def install
  if guest.capability?(:bower_path)
    if bower_path = guest.capability(:bower_path)
      user_symlink(bower_path)
    end
  else
    @env[:ui].info I18n.t('vagrant_cachier.skipping_bucket', bucket: 'Bower')
  end
end