class HexaPDF::TestUtils::OperatorRecorder
Can be used to to record operators parsed from content streams.
def initialize
def initialize super operators.clear @recorded_ops = [] end
def method_missing(msg, *params)
def method_missing(msg, *params) @recorded_ops << (params.empty? ? [msg] : [msg, params]) end
def respond_to_missing?(*)
def respond_to_missing?(*) true end