Method: HaveAPI::OutputFormatters::BaseFormatter.handle
- Defined in:
- lib/haveapi/output_formatters/base.rb
.handle(*args) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/haveapi/output_formatters/base.rb', line 6 def handle(*args) @types ||= [] @types += args HaveAPI::OutputFormatter.register(Kernel.const_get(to_s)) unless @registered @registered = true end |