Class: Capistrano::Configuration::ValidatedVariables::ValidatedQuestion
- Inherits:
-
Question
- Object
- Question
- Capistrano::Configuration::ValidatedVariables::ValidatedQuestion
- Defined in:
- lib/capistrano/configuration/validated_variables.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(validator) ⇒ ValidatedQuestion
constructor
A new instance of ValidatedQuestion.
Constructor Details
#initialize(validator) ⇒ ValidatedQuestion
Returns a new instance of ValidatedQuestion.
100 101 102 |
# File 'lib/capistrano/configuration/validated_variables.rb', line 100 def initialize(validator) @validator = validator end |
Instance Method Details
#call ⇒ Object
104 105 106 |
# File 'lib/capistrano/configuration/validated_variables.rb', line 104 def call @validator.call end |