Module: Ferry::Configuration::Question

Defined in:
lib/ferry/configuration/question.rb

Instance Method Summary collapse

Instance Method Details

#callObject



8
9
10
11
# File 'lib/ferry/configuration/question.rb', line 8

def call
  ask_question
  value_or_default
end

#initialize(key, default, options = {}) ⇒ Object



4
5
6
# File 'lib/ferry/configuration/question.rb', line 4

def initialize(key, default, options = {})
  @key, @default, @options = key, default, options
end