Class: Textbringer::DefaultOutput
- Inherits:
-
Object
- Object
- Textbringer::DefaultOutput
- Defined in:
- lib/textbringer/default_output.rb
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(mid) ⇒ Object
12 13 14 15 16 |
# File 'lib/textbringer/default_output.rb', line 12 def method_missing(mid, ...) buffer = StringIO.new buffer.send(mid, ...) write(buffer.string) end |