Method: HQMF2::Range#to_model

Defined in:
lib/hqmf-parser/2.0/types.rb

#to_modelObject



80
81
82
83
84
85
# File 'lib/hqmf-parser/2.0/types.rb', line 80

def to_model
  lm = low ? low.to_model : nil
  hm = high ? high.to_model : nil
  wm = width ? width.to_model : nil
  HQMF::Range.new(type, lm, hm, wm)
end