Model for reading created
State pattern implemented
This commit is contained in:
8
app/helpers/Synchronizer.rb
Normal file
8
app/helpers/Synchronizer.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
class Synchronizer
|
||||
include StatePattern
|
||||
|
||||
SYNC_PATTERN = "\n/ISk5\\2ME382-1003\n\n"
|
||||
|
||||
set_initial_state SearchingForSyncState
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user