Method: Metanorma::Collection#render
- Defined in:
- lib/metanorma/collection/collection.rb
#render(opts) ⇒ Object
94 95 96 97 98 99 100 101 102 |
# File 'lib/metanorma/collection/collection.rb', line 94 def render(opts) if opts[:format].nil? || opts[:format].empty? opts[:format] = @format || [:html] end opts[:log] = @log opts[:flavor] = @flavor ::Metanorma::Collection::Renderer.render self, opts clean_exit end |