summaryrefslogtreecommitdiffstats
path: root/lib/evendoors
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-13 00:43:08 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-13 00:43:08 +0200
commitba108de1be22fbcbf5d34bab4aec337120bba60d (patch)
tree4d02ce96ab98b5d2583e5819eaf4d0548da1a4a0 /lib/evendoors
parent820be8a21f9d5d80f33903783a8067d5cf49904c (diff)
downloadedoors-ruby-ba108de1be22fbcbf5d34bab4aec337120bba60d.zip
edoors-ruby-ba108de1be22fbcbf5d34bab4aec337120bba60d.tar.gz
Spin: send_ -> post_
Diffstat (limited to 'lib/evendoors')
-rw-r--r--lib/evendoors/room.rb4
-rw-r--r--lib/evendoors/spin.rb4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/evendoors/room.rb b/lib/evendoors/room.rb
index aa1e7d1..6497f02 100644
--- a/lib/evendoors/room.rb
+++ b/lib/evendoors/room.rb
@@ -148,7 +148,7 @@ module EvenDoors
p.error! EvenDoors::ERROR_ROUTE_NDNL
end
puts " -> #{p.dst.path}#{EvenDoors::ACT_SEP}#{p.action}" if @spin.debug_routing
- @spin.send_p p
+ @spin.post_p p
end
#
def send_sys_p p
@@ -164,7 +164,7 @@ module EvenDoors
p.error! EvenDoors::ERROR_ROUTE_SND
end
puts " -> #{p.dst.path}#{EvenDoors::ACT_SEP}#{p.action}" if @spin.debug_routing
- @spin.send_sys_p p
+ @spin.post_sys_p p
end
#
def process_sys_p p
diff --git a/lib/evendoors/spin.rb b/lib/evendoors/spin.rb
index da340d3..88af3bc 100644
--- a/lib/evendoors/spin.rb
+++ b/lib/evendoors/spin.rb
@@ -93,11 +93,11 @@ module EvenDoors
p
end
#
- def send_p p
+ def post_p p
@app_fifo << p
end
#
- def send_sys_p p
+ def post_sys_p p
@sys_fifo << p
end
#