/[freeride]/freeride/test/adapter.rb
ViewVC logotype

Diff of /freeride/test/adapter.rb

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by ljulliar, Fri Jan 25 17:58:49 2002 UTC revision 1.2 by richkilmer, Thu Jan 31 09:19:03 2002 UTC
# Line 12  FreeRIDE::DataBus::Adapter.new(slots) do Line 12  FreeRIDE::DataBus::Adapter.new(slots) do
12          end          end
13  end  end
14    
15  db["/"].subscribe {|msg, slot| puts "slot: #{slot.path} value: #{slot.data}"}  db["/"].subscribe {|event, slot| puts "slot: #{slot.path} value: #{slot.data}"}
16  #This prints out the commented messages below  #This prints out the commented messages below
17    
18  db["/FirstName"].data = "Richard"  db["/FirstName"].data = "Richard"

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26