Method: ANSI::Chain#method_missing
- Defined in:
- lib/ansi/chain.rb
#method_missing(s, *a, &b) ⇒ Object
22 23 24 25 26 27 28 29 |
# File 'lib/ansi/chain.rb', line 22 def method_missing(s, *a, &b) if ANSI::CHART.key?(s) @codes << s self else super(s, *a, &b) end end |