Class: VagrantPlugins::DevCommands::Commandfile
- Inherits:
-
Object
- Object
- VagrantPlugins::DevCommands::Commandfile
- Defined in:
- lib/vagrant/devcommands/commandfile.rb
Overview
Loads and handles the Commandfile
Instance Method Summary collapse
- #exist? ⇒ Boolean
-
#initialize(env) ⇒ Commandfile
constructor
A new instance of Commandfile.
- #path ⇒ Object
Constructor Details
#initialize(env) ⇒ Commandfile
Returns a new instance of Commandfile.
5 6 7 |
# File 'lib/vagrant/devcommands/commandfile.rb', line 5 def initialize(env) @env = env end |
Instance Method Details
#exist? ⇒ Boolean
9 10 11 |
# File 'lib/vagrant/devcommands/commandfile.rb', line 9 def exist? nil != find_commandfile end |
#path ⇒ Object
13 14 15 |
# File 'lib/vagrant/devcommands/commandfile.rb', line 13 def path find_commandfile end |