Class: SuperDiff::Csi::Document::ColorRequest
- Defined in:
- lib/super_diff/csi/document.rb
Instance Method Summary collapse
Methods inherited from Request
Constructor Details
This class inherits a constructor from SuperDiff::Csi::Document::Request
Instance Method Details
#resolve(doc, args, opts, &block) ⇒ Object
161 162 163 164 165 |
# File 'lib/super_diff/csi/document.rb', line 161 def resolve(doc, args, opts, &block) doc.public_send(wrapper) do |d| d.colorize(*args, **opts, fg: name, &block) end end |