class VagrantPlugins::Cachier::Bucket::Composer

Public Class Methods

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

Public Instance Methods

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