Skip to content

Commit

Permalink
Checkin
Browse files Browse the repository at this point in the history
  • Loading branch information
auser committed May 28, 2009
1 parent 87078ef commit 658d442
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lib/troph/messaging/hive.rb
Expand Up @@ -13,6 +13,10 @@ def self.bees
end

# TODO: Add availability of the bees here
# Setup the bees in the hive
#
# This sets up the periodic blocks from within the bees
# and binds and subscribes the bees
def self.setup_bees
bees.each do |bee|
bee.setup_periodic_blocks
Expand All @@ -26,8 +30,8 @@ def self.setup_bees
end
end

def self.start
load_hive
def self.start(base_dir=Dir.pwd)
load_hive(base_dir)
setup_bees
end

Expand Down

0 comments on commit 658d442

Please sign in to comment.