class CatClaw::Catcher
Public Class Methods
new()
click to toggle source
# File lib/cat_claw/catcher.rb, line 9 def initialize @cats = [ CatClaw::RubyChinaCat.new, CatClaw::V2EXCat.new, CatClaw::WeWorkRemotelyCat.new, CatClaw::StackOverFlowCat.new ] end
Public Instance Methods
paw()
click to toggle source
# File lib/cat_claw/catcher.rb, line 18 def paw footprints = [] @cats.each do |cat| footprint = cat.paw footprints << footprint end footprints end
run()
click to toggle source
# File lib/cat_claw/catcher.rb, line 27 def run paw end