Exception: Babushka::PromptUnavailable

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/babushka/prompt.rb

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ PromptUnavailable

Returns a new instance of PromptUnavailable.


10
11
12
# File 'lib/babushka/prompt.rb', line 10

def initialize message
  super %{Can't prompt for "#{message}" because STDIN isn't a terminal.}
end