Module: VagrantPlugins::Protobox
- Defined in:
- lib/vagrant-protobox.rb,
lib/vagrant-protobox/action.rb,
lib/vagrant-protobox/errors.rb,
lib/vagrant-protobox/plugin.rb,
lib/vagrant-protobox/version.rb,
lib/vagrant-protobox/command/root.rb,
lib/vagrant-protobox/action/install.rb,
lib/vagrant-protobox/command/switch.rb,
lib/vagrant-protobox/command/install.rb,
lib/vagrant-protobox/action/switch_config.rb,
lib/vagrant-protobox/action/config_exists_check.rb
Defined Under Namespace
Modules: Action, Command, Errors
Classes: Plugin
Constant Summary
collapse
- VERSION =
"0.0.2"
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.logo ⇒ Object
12
13
14
15
16
17
18
19
20
|
# File 'lib/vagrant-protobox.rb', line 12
def self.logo
return <<-LOGOBLOCK
__ __
.-----.----.-----| |_.-----| |--.-----.--.--.
| _ | _| _ | _| _ | _ | _ |_ _|
| __|__| |_____|____|_____|_____|_____|__.__|
|__|
LOGOBLOCK
end
|
.source_root ⇒ Object
This returns the path to the source of this plugin.
27
28
29
|
# File 'lib/vagrant-protobox.rb', line 27
def self.source_root
@source_root ||= Pathname.new(File.expand_path("../../", __FILE__))
end
|
.system_dir(path) ⇒ Object
22
23
24
|
# File 'lib/vagrant-protobox.rb', line 22
def self.system_dir(path)
@system_dir ||= path.join('.protobox')
end
|
Instance Method Details
#initialize ⇒ Object
18
19
20
21
|
# File 'lib/vagrant-protobox/plugin.rb', line 18
def initialize
puts "here"
exit
end
|