Sha256: 277b026516cbe6a4d8642178d2cdc45f8e9c44413dff998ba774dc9479b03202
Contents?: true
Size: 576 Bytes
Versions: 2
Compression:
Stored size: 576 Bytes
Contents
require 'berkeley_library/marc/field_info/var_fields/obsolescible' module BerkeleyLibrary module Marc module FieldInfo module VarFields class IndValDef # TODO: include Comparable include Obsolescible attr_reader :val attr_reader :desc # TODO: destructure range values in some useful way (e.g. 130) def initialize(val:, desc:) @val = val @desc = desc end def to_s "#{val} - #{desc}" end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
berkeley_library-marc-0.2.1 | lib/berkeley_library/marc/field_info/var_fields/ind_val_def.rb |
berkeley_library-marc-0.2.0 | lib/berkeley_library/marc/field_info/var_fields/ind_val_def.rb |