class PS_Private::SOper

Attributes

type[R]

Public Class Methods

new(type, *args) click to toggle source
# File lib/geotree/pswriter.rb, line 26
def initialize(type, *args)
  @type = type
  @args = *args.dup
end
null() click to toggle source
# File lib/geotree/pswriter.rb, line 22
def self.null
  @@null_oper
end

Public Instance Methods

arg(offset) click to toggle source
# File lib/geotree/pswriter.rb, line 31
def arg(offset)
  @args[offset]
end
nargs() click to toggle source
# File lib/geotree/pswriter.rb, line 35
def nargs
  @args.size
end