Class: Textpow::RecordingProcessor

Inherits:
Object
  • Object
show all
Defined in:
lib/textpow/recording_processor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeRecordingProcessor

Returns a new instance of RecordingProcessor.



5
6
7
# File 'lib/textpow/recording_processor.rb', line 5

def initialize
  @stack = []
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(name, *args) ⇒ Object



9
10
11
# File 'lib/textpow/recording_processor.rb', line 9

def method_missing(name, *args)
  @stack << [name, *args]
end

Instance Attribute Details

#stackObject

Returns the value of attribute stack.



3
4
5
# File 'lib/textpow/recording_processor.rb', line 3

def stack
  @stack
end