Class: SnowmanIO::Loop::Spiders

Inherits:
Object
  • Object
show all
Includes:
Celluloid
Defined in:
lib/snowman-io/loop/spiders.rb

Instance Method Summary collapse

Constructor Details

#initializeSpiders

Returns a new instance of Spiders.



6
7
8
# File 'lib/snowman-io/loop/spiders.rb', line 6

def initialize
  after(5) { tick }
end

Instance Method Details

#tickObject



10
11
12
13
14
15
# File 'lib/snowman-io/loop/spiders.rb', line 10

def tick
  App.time "Spiders Performing Time" do
    perform
  end
  after(30) { tick }
end