Class: Rad::Conveyors::Processor

Inherits:
Object
  • Object
show all
Defined in:
lib/rad/conveyors/_processor.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(next_processor) ⇒ Processor

Returns a new instance of Processor.



6
7
8
# File 'lib/rad/conveyors/_processor.rb', line 6

def initialize next_processor
  @next_processor = next_processor
end

Instance Attribute Details

#next_processorObject

Returns the value of attribute next_processor.



4
5
6
# File 'lib/rad/conveyors/_processor.rb', line 4

def next_processor
  @next_processor
end

Class Method Details

.inspectObject



10
11
12
# File 'lib/rad/conveyors/_processor.rb', line 10

def self.inspect
  self.name.split('::').last
end