class HQMF2::AnyValue

Used to represent 'any value' in criteria that require a value be present but don't specify any restrictions on that value

Attributes

type[R]

Public Class Methods

new(type = 'ANYNonNull') click to toggle source
# File lib/hqmf-parser/2.0/types.rb, line 7
def initialize(type = 'ANYNonNull')
  @type = type
end

Public Instance Methods

to_model() click to toggle source

Generates this classes hqmf-model equivalent

# File lib/hqmf-parser/2.0/types.rb, line 12
def to_model
  HQMF::AnyValue.new(@type)
end