Flowdock
method

ask

Importance_1
v2.3.2 - Show latest stable - 0 notes - Class: Rails::TemplateRunner
ask(string) protected

Get a user’s input

Example

  answer = ask("Should I freeze the latest Rails?")
  freeze! if ask("Should I freeze the latest Rails?") == "yes"
Show source
Register or log in to add new notes.