Sha256: 6c136113d2503d99f0b094849825e9f1d6436fec98f93a1921372c4ca65db409
Contents?: true
Size: 343 Bytes
Versions: 3
Compression:
Stored size: 343 Bytes
Contents
require 'page_navigation' module Rufus module Navigation include PageNavigation def on(cls) screen = cls.new wait = 0 until wait == 59 do if screen.active? return screen else wait += 1 end end raise "Expected #{cls} to be active" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rufus-0.4 | lib/rufus/navigation.rb |
rufus-0.3 | lib/rufus/navigation.rb |
rufus-0.1 | lib/rufus/navigation.rb |