Cleaned up some documentation on `Key`, and working harder to coerce `Key#initialize...
[nfoiled.git] / examples / single_window.rb
blobc2fcc90639738778638eecb7535d7b245c40203a
1 ($:.unshift File.expand_path(File.join( File.dirname(__FILE__), '..', 'lib' ))).uniq!
2 require 'nfoiled'
4 ##
5 # This simple example deals with utilizing a single `Window` instance in
6 # Nfoiled.
7 window = Nfoiled::Window.new
8 window.print "Hi!"
9 Nfoiled::update!
11 sleep 2.5