Class: Textpow::RecordingProcessor
- Inherits:
-
Object
- Object
- Textpow::RecordingProcessor
- Defined in:
- lib/textpow/recording_processor.rb
Instance Attribute Summary collapse
-
#stack ⇒ Object
Returns the value of attribute stack.
Instance Method Summary collapse
-
#initialize ⇒ RecordingProcessor
constructor
A new instance of RecordingProcessor.
- #method_missing(name, *args) ⇒ Object
Constructor Details
#initialize ⇒ RecordingProcessor
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
#stack ⇒ Object
Returns the value of attribute stack.
3 4 5 |
# File 'lib/textpow/recording_processor.rb', line 3 def stack @stack end |