Sha256: 7acc7af859a67e4f89cfb6328072299509dd52bc97d59b160030589f5c213e78

Contents?: true

Size: 516 Bytes

Versions: 2

Compression:

Stored size: 516 Bytes

Contents

require 'berkeley_library/marc/field_info/var_fields/obsolescible'

module BerkeleyLibrary
  module Marc
    module FieldInfo
      module VarFields
        class InstrumentOrVoicesCode
          # TODO: include Comparable
          include Obsolescible

          attr_reader :val
          attr_reader :desc

          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/instrument_or_voices_code.rb
berkeley_library-marc-0.2.0 lib/berkeley_library/marc/field_info/var_fields/instrument_or_voices_code.rb