Class: Cpspec::Config
- Inherits:
-
Vagrant::Config::Base
- Object
- Vagrant::Config::Base
- Cpspec::Config
- Defined in:
- lib/cpspec/config.rb
Instance Attribute Summary collapse
-
#directory ⇒ Object
Returns the value of attribute directory.
Instance Method Summary collapse
Instance Attribute Details
#directory ⇒ Object
Returns the value of attribute directory.
4 5 6 |
# File 'lib/cpspec/config.rb', line 4 def directory @directory end |
Instance Method Details
#validate(errors) ⇒ Object
6 7 8 |
# File 'lib/cpspec/config.rb', line 6 def validate(errors) errors.add("You need a test directory") if !directory end |