module FN::PDF::Node::SetParameter

Public Instance Methods

visit(struct, debug = false) click to toggle source
# File lib/fn/pdf/node/set_parameter.rb, line 14
def visit(struct, debug = false)
  has_no_children
  struct[self[:key]] = self[:value]
  struct.set_parameter(self[:key], self[:value])
end