Class: Capistrano::Configuration::ValidatedVariables::ValidatedQuestion

Inherits:
Question
  • Object
show all
Defined in:
lib/capistrano/configuration/validated_variables.rb

Instance Method Summary collapse

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

#callObject



104
105
106
# File 'lib/capistrano/configuration/validated_variables.rb', line 104

def call
  @validator.call
end