diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-04 09:44:32 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-04 09:44:32 +0200 |
commit | f52b4843d1b195cac387d83f72db9a20c8ea725d (patch) | |
tree | 6825b3cb80635386177da9bb861d2b062b844590 /lib | |
parent | 2ee48c4f18470e733f244c659221e243ff998416 (diff) | |
download | edoors-ruby-f52b4843d1b195cac387d83f72db9a20c8ea725d.zip edoors-ruby-f52b4843d1b195cac387d83f72db9a20c8ea725d.tar.gz |
AC_ADD_LINK -> SYS_ACT_ADD_LINK
Diffstat (limited to 'lib')
-rw-r--r-- | lib/evendoors.rb | 5 | ||||
-rw-r--r-- | lib/evendoors/room.rb | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/lib/evendoors.rb b/lib/evendoors.rb index 16504b6..305259b 100644 --- a/lib/evendoors.rb +++ b/lib/evendoors.rb @@ -6,10 +6,13 @@ module EvenDoors PATH_SEP = '/'.freeze LINK_SEP = ','.freeze ACT_SEP = '?'.freeze + # ACT_GET = 'get'.freeze - ACT_ADD_LINK = 'add_link'.freeze + ACT_FOLLOW = 'follow'.freeze ACT_ERROR = 'error'.freeze # + SYS_ACT_ADD_LINK = 'sys_add_link'.freeze + # LNK_SRC = 'edoors_lnk_src'.freeze LNK_DSTS = 'edoors_lnk_dsts'.freeze LNK_FIELDS = 'edoors_lnk_fields'.freeze diff --git a/lib/evendoors/room.rb b/lib/evendoors/room.rb index 671b529..0ca43bd 100644 --- a/lib/evendoors/room.rb +++ b/lib/evendoors/room.rb @@ -110,7 +110,7 @@ module EvenDoors end # def process_sys p - if p.action==ACT_ADD_LINK + if p.action==SYS_ACT_ADD_LINK add_link EvenDoors::Link.from_particle_data p end EvenDoors::Twirl.release_p p |