Flowdock

Make the default UI accessible without the “ui.” prefix. Classes including this module may use the interaction methods on the default UI directly. Classes may also reference the ui and ui= methods.

Example:

class X
  include Gem::UserInteraction

  def get_answer
    n = ask("What is the meaning of life?")
  end
end
Show files where this module is defined (1 file)
Register or log in to add new notes.