Fixes for new environment

This commit is contained in:
PCOG sites
2014-07-15 17:52:49 +02:00
parent 516e09bfba
commit bab08f987d
9 changed files with 19 additions and 11 deletions

View File

@@ -10,4 +10,4 @@ class SearchingForSyncState < StatePattern::State
# return
return bytes[idx..-1] || ""
end
end
end

View File

@@ -1,8 +1,8 @@
class Synchronizer
include StatePattern
include StatePattern
SYNC_PATTERN = "\n/ISk5\\2ME382-1003\n\n"
set_initial_state SearchingForSyncState
set_initial_state ::SearchingForSyncState
end