Class: SuperDiff::Csi::ColorizedDocument
- Defined in:
- lib/super_diff/csi/colorized_document.rb
Instance Method Summary collapse
-
#initialize(&block) ⇒ ColorizedDocument
constructor
A new instance of ColorizedDocument.
Methods inherited from Document
#bold, #colorize, #each, #indent, #line, #method_missing, #newline, #respond_to_missing?, #text, #to_s
Constructor Details
#initialize(&block) ⇒ ColorizedDocument
Returns a new instance of ColorizedDocument.
6 7 8 9 |
# File 'lib/super_diff/csi/colorized_document.rb', line 6 def initialize(&block) @color_sequences_open_in_parent = [] super end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class SuperDiff::Csi::Document