Class: Interface
- Inherits:
-
Object
show all
- Defined in:
- lib/zombie-chaser/interface.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Instance Attribute Details
#human=(value) ⇒ Object
4
5
6
|
# File 'lib/zombie-chaser/interface.rb', line 4
def human=(value)
@human = value
end
|
#zombie_list=(value) ⇒ Object
Sets the attribute zombie_list
4
5
6
|
# File 'lib/zombie-chaser/interface.rb', line 4
def zombie_list=(value)
@zombie_list = value
end
|
Instance Method Details
#finish_if_neccessary ⇒ Object
10
11
|
# File 'lib/zombie-chaser/interface.rb', line 10
def finish_if_neccessary
end
|
#interface_puts(*args) ⇒ Object
13
14
15
16
|
# File 'lib/zombie-chaser/interface.rb', line 13
def interface_puts(*args)
puts(*args)
STDOUT.flush
end
|
#sleep(duration) ⇒ Object
6
7
8
|
# File 'lib/zombie-chaser/interface.rb', line 6
def sleep(duration)
super
end
|