Class: Fairy::Cat
Defined Under Namespace
Modules: Interface
Instance Method Summary collapse
- #backend_class_name ⇒ Object
-
#initialize(fairy, opts, others) ⇒ Cat
constructor
A new instance of Cat.
Methods inherited from IOFilter
Methods inherited from Filter
#backend, #backend=, #backend_class, #def_pool_variable
Constructor Details
#initialize(fairy, opts, others) ⇒ Cat
Returns a new instance of Cat.
29 30 31 32 33 34 |
# File 'lib/fairy/client/cat.rb', line 29 def initialize(fairy, opts, others) super(fairy, opts, others.collect{|o| o.backend}) @others = others @block_source @opts = opts end |
Instance Method Details
#backend_class_name ⇒ Object
36 37 38 |
# File 'lib/fairy/client/cat.rb', line 36 def backend_class_name "CCat" end |