Top Level Namespace
Defined Under Namespace
Modules: BasicLogging, Translating Classes: ArgParser, Configuration, Definition, Dictionary, HTML2Index, Template
Constant Summary collapse
- VERSION =
/***************************************************************************
- ©2015-2026, Michael Uplawski michael.uplawski@uplawski.eu *
-
* - This program is free software; you can redistribute it and/or modify *
- it under the terms of the WTFPL, version 2 or later, as published on *
- https://www.wtfpl.net/about/. *
-
* - This program is distributed in the hope that it will be useful, *
- but WITHOUT ANY WARRANTY; without even the implied warranty of *
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
-
***************************************************************************/*
'1.32.1'- SUMMARY =
"Generate a Glossary from a html-page"
Instance Method Summary collapse
Instance Method Details
#wait_for_user ⇒ Object
19 20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'lib/user_input.rb', line 19 def wait_for_user() char = nil STDIN.raw do STDIN.noecho do until (STDIN.ready?) sleep(0.1) end char = (STDIN.read_nonblock(1).ord rescue nil) end end return char end |