{ :name => 'videos',:port => 20011},
{ :name => 'comments', :port => 20012} ]
- ShinagawaSeaside::set(ttdb, :basedir => File.dirname(__FILE__)+'/ttdb')
+ ShinagawaSeaside::set_tasks(ttdb, :basedir => File.dirname(__FILE__)+'/ttdb')
== REQUIREMENTS:
module ShinagawaSeaside
VERSION = '0.0.1'
- def ShinagawaSeaside::set(ttdb, opts)
+ def ShinagawaSeaside::set_tasks(ttdb, opts)
p ttdb
p opts
{ :name => 'videos',:port => 20011},
{ :name => 'comments', :port => 20012} ]
-ShinagawaSeaside::set(ttdb, :basedir => File.dirname(__FILE__)+'/ttdb')
+ShinagawaSeaside::set_tasks(ttdb, :basedir => File.dirname(__FILE__)+'/ttdb')