Class: CatClaw::Catcher
- Inherits:
-
Object
- Object
- CatClaw::Catcher
- Defined in:
- lib/cat_claw/catcher.rb
Instance Method Summary collapse
-
#initialize(arguments) ⇒ Catcher
constructor
A new instance of Catcher.
- #paw ⇒ Object
- #run ⇒ Object
Constructor Details
#initialize(arguments) ⇒ Catcher
Returns a new instance of Catcher.
5 6 7 8 9 10 11 12 13 |
# File 'lib/cat_claw/catcher.rb', line 5 def initialize(arguments) @arguments = arguments @cats = [ CatClaw::RubyChinaCat.new, CatClaw::V2EXCat.new, CatClaw::WeWorkRemotelyCat.new, CatClaw::StackOverFlowCat.new ] end |
Instance Method Details
#paw ⇒ Object
15 16 17 18 19 20 |
# File 'lib/cat_claw/catcher.rb', line 15 def paw @cats.each do |cat| p cat.paw end end |
#run ⇒ Object
22 23 24 |
# File 'lib/cat_claw/catcher.rb', line 22 def run paw end |