Class: Wukong::ProcessorBuilder

Inherits:
Hanuman::StageBuilder show all
Defined in:
lib/wukong/processor.rb

Instance Attribute Summary

Attributes included from Hanuman::StageInstanceMethods

#graph

Instance Method Summary collapse

Methods inherited from Hanuman::StageBuilder

#build, #clone, #define, #define_class, #handle_extra_attributes, #into, #merge!, #serialize

Methods included from Hanuman::StageInstanceMethods

#add_stage_link, #linkable_name, #root

Instance Method Details

#namespace(*args) ⇒ Object



3
4
5
# File 'lib/wukong/processor.rb', line 3

def namespace(*args)
  args.first.is_a?(Class) ? args.first : Wukong::Processor
end