Class: Magma::Renderer

Inherits:
Object
  • Object
show all
Includes:
Common, Utils
Defined in:
lib/magma/renderer.rb

Constant Summary collapse

SUPPORTED_FORMATS =
%w[hls mp4].freeze

Instance Method Summary collapse

Methods included from Utils

#pipe, #read_file_or_stdin, #run, #symbolize_keys, #uuid?, #which

Methods included from Common

#handle_output!

Constructor Details

#initialize(outfile, options) ⇒ Renderer

Returns a new instance of Renderer.



10
11
12
13
# File 'lib/magma/renderer.rb', line 10

def initialize(outfile, options)
  @outfile = outfile
  @options = options
end

Instance Method Details

#callObject



15
16
17
# File 'lib/magma/renderer.rb', line 15

def call
  render!
end