Top Level Namespace

Defined Under Namespace

Modules: File_Checking, Logging, Translating Classes: ArgParser, Configuration, Definition, Dictionary, HTML2Index, TClass, Template

Constant Summary collapse

VERSION =

DON’T FORGET SCHWEINE-MET ON THE FENSTERBRETT !!

  • Change gemspec !!

  • Change version in the doc/rst folder !!

  • INSTALL AND TEST THAT GEM !!

  • gem push

  • blame yourself.

'1.2.1'
APPNAME =
'HTML2Index'
GeneratorMeta =

meta-tag for the html-output

"<meta name=\"generator\" content=\"HTML2Index ©2015-#{Date.today.strftime('%Y')} [email protected]\" />"

Instance Method Summary collapse

Instance Method Details

#wait_for_userObject



27
28
29
30
31
32
33
34
35
36
37
38
39
# File 'lib/user_input.rb', line 27

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