repo.or.cz
/
nfoiled.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Cleaned up some documentation on `Key`, and working harder to coerce `Key#initialize...
[nfoiled.git]
/
examples
/
single_window.rb
blob
c2fcc90639738778638eecb7535d7b245c40203a
1
($:.unshift File.expand_path(File.join( File.dirname(__FILE__), '..', 'lib' ))).uniq!
2
require 'nfoiled'
3
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!
10
11
sleep 2.5