module VagrantPlugins::DigitalOcean
Constants
- VERSION
Public Class Methods
Source
# File lib/vagrant-digitalocean.rb, line 11 def self.public_key(private_key_path) File.read("#{private_key_path}.pub") rescue raise Errors::PublicKeyError, :path => "#{private_key_path}.pub" end
Source
# File lib/vagrant-digitalocean.rb, line 7 def self.source_root @source_root ||= Pathname.new(File.expand_path('../../', __FILE__)) end