diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-18 17:22:53 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-18 17:22:53 +0200 |
commit | b838d426001c0dbbea1af753a49f6eaf2f4e2443 (patch) | |
tree | 6a8f5a86cd4e5392ad77f8fc98a5c00c89983416 /lib/iotas/room.rb | |
parent | 250bfe34771aa568d83ca1a1ce0e875e14d39ed6 (diff) | |
download | edoors-ruby-b838d426001c0dbbea1af753a49f6eaf2f4e2443.zip edoors-ruby-b838d426001c0dbbea1af753a49f6eaf2f4e2443.tar.gz |
add VERSION, move some constants
Diffstat (limited to 'lib/iotas/room.rb')
-rw-r--r-- | lib/iotas/room.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/iotas/room.rb b/lib/iotas/room.rb index 203b74c..4482a6b 100644 --- a/lib/iotas/room.rb +++ b/lib/iotas/room.rb @@ -21,6 +21,13 @@ # module Iotas # + ERROR_ROUTE_NS = 'routing error: no source'.freeze + ERROR_ROUTE_RRWD = 'routing error: right room, wrong door'.freeze + ERROR_ROUTE_DDWR = 'routing error: drill down, wrong room'.freeze + ERROR_ROUTE_TRWR = 'routing error: top room, wrong room'.freeze + ERROR_ROUTE_NDNL = 'routing error: no destination, no link'.freeze + ERROR_ROUTE_SND = 'routing error: system no destination'.freeze + # class Room < Iota # def initialize n, p |