diff options
Diffstat (limited to 'lib/iotas')
-rw-r--r-- | lib/iotas/board.rb | 2 | ||||
-rw-r--r-- | lib/iotas/link.rb | 6 | ||||
-rw-r--r-- | lib/iotas/room.rb | 7 |
3 files changed, 15 insertions, 0 deletions
diff --git a/lib/iotas/board.rb b/lib/iotas/board.rb index 8c1991f..9371354 100644 --- a/lib/iotas/board.rb +++ b/lib/iotas/board.rb @@ -21,6 +21,8 @@ # module Iotas # + ACT_FOLLOW = 'follow'.freeze + # class Board < Door # def initialize n, p diff --git a/lib/iotas/link.rb b/lib/iotas/link.rb index b1fd9ba..073ca1f 100644 --- a/lib/iotas/link.rb +++ b/lib/iotas/link.rb @@ -21,6 +21,12 @@ # module Iotas # + LNK_SRC = 'edoors_lnk_src'.freeze + LNK_DSTS = 'edoors_lnk_dsts'.freeze + LNK_FIELDS = 'edoors_lnk_fields'.freeze + LNK_CONDF = 'edoors_lnk_condf'.freeze + LNK_CONDV = 'edoors_lnk_condv'.freeze + # class Link # def initialize src, dsts, fields=nil, cond_fields=nil, cond_value=nil 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 |