Module | Origami::PDF::Instruction |
In: |
sources/parser/graphics/instruction.rb
|
operands | [RW] | |
operator | [RW] |
# File sources/parser/graphics/instruction.rb, line 32 32: def initialize(operator, *operands) 33: @operator = operator 34: @operands = operands 35: end
# File sources/parser/graphics/instruction.rb, line 37 37: def to_s 38: "#{operands.map!{|op| op.to_o.to_s}.join(' ')}#{' ' unless operands.empty?}#{operator}\n" 39: end