Class: Gamefic::User::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/gamefic/user/base.rb

Overview

The base user provides methods for handling messages received from plots.

Direct Known Subclasses

Tty

Instance Method Summary collapse

Instance Method Details

#flushObject



10
11
12
# File 'lib/gamefic/user/base.rb', line 10

def flush
  buffer.flush
end

#send(message) ⇒ Object



6
7
8
# File 'lib/gamefic/user/base.rb', line 6

def send message
  buffer.send message
end