Class R10K::Environment::Name
In: lib/r10k/environment/name.rb
Parent: Object

Handle environment name validation and modification.

@api private

Methods

correct?   dirname   new   valid?   validate?  

Constants

INVALID_CHARACTERS = %r[\W]

Attributes

name  [R]  @!attribute [r] name
  @return [String] The unmodified name of the environment

Public Class methods

Public Instance methods

Should the environment name have invalid characters removed?

The directory name for the environment, modified as necessary to remove invalid characters.

@return [String]

[Validate]