Class: FLV::Edit::Processor::Print

Inherits:
Base
  • Object
show all
Includes:
Filter
Defined in:
lib/flvedit/processor/print.rb

Overview

Print is a Processor class (see Base and desc)

Instance Attribute Summary

Attributes inherited from Base

#options

Instance Method Summary collapse

Methods included from Filter

#each

Methods inherited from Base

#clone, #each, #each_source, #initialize, #process_all

Constructor Details

This class inherits a constructor from FLV::Edit::Processor::Base

Instance Method Details

#before_filterObject



11
12
13
# File 'lib/flvedit/processor/print.rb', line 11

def before_filter
  @printer = Printer.new(options[:out])
end

#filter(tag) ⇒ Object



15
16
17
# File 'lib/flvedit/processor/print.rb', line 15

def filter(tag)
  tag.debug(@printer) if tag.is? :onMetaData
end