Method: Mediakit::Drivers::PopenDriver#parse_options

Defined in:
lib/mediakit/drivers.rb

#parse_options(args) ⇒ Object



59
60
61
62
# File 'lib/mediakit/drivers.rb', line 59

def parse_options(args)
  options = (args.last && args.last.kind_of?(Hash)) ? args.pop : {}
  [options, args]
end