Module: JarEd

Defined in:
lib/jared.rb,
lib/jared/version.rb

Constant Summary collapse

VERSION =
"1.0.0"

Class Method Summary collapse

Class Method Details

.normanObject



16
17
18
# File 'lib/jared.rb', line 16

def norman
  "Jared Norman"
end

.start(args) ⇒ Object



6
7
8
9
10
11
12
13
14
# File 'lib/jared.rb', line 6

def start(args)
  with_screen do
    loop do
      stop! if Curses.getch == 'q'
      Curses.doupdate
      break if stop
    end
  end
end

.stop!Object



20
21
22
# File 'lib/jared.rb', line 20

def stop!
  @stop = true
end