Sha256: 330b47dde48c6f1ee2e7f4d798b4cb1f59aab4a1c332d3b2cfc88a2249947c84

Contents?: true

Size: 99 Bytes

Versions: 1

Compression:

Stored size: 99 Bytes

Contents

require 'io/console'

def ask(question)
  print question
  puts choice = $stdin.getch
  choice
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
noty-0.1.1 lib/noty/ask.rb