lib/cli/mastermind/configuration.rb
# Specifies the root of the project.
# +root+ must be a directory.
#
# @param root [String] the root directory of the project
# @raise [InvalidDirectoryError] if +root+ is not a directory
Specifies the root of the project.
+root+ must be a directory.
Specifies the root of the project . + root + must be a directory .
def project_root(root)
          unless Dir.exist? root
            raise InvalidDirectoryError.new('Invalid project root', root)
          end
          @config.project_root = root
        end
def project_root ( root ) unless Dir . exist? root raise InvalidDirectoryError . new ( 'Invalid project root' , root ) end @config . project_root = root end
Specifies the root of the project.
Specifies the root of the project .
[InvalidDirectoryError] if +root+ is not a directory
[ InvalidDirectoryError ] if + root + is not a directory
root
the root directory of the project
the root directory of the project