Sha256: 7355b597004ad98ef084e9cc315dc7fc1449224f98c4a9f210d11779895901d8

Contents?: true

Size: 437 Bytes

Versions: 2

Compression:

Stored size: 437 Bytes

Contents

module BerkeleyLibrary
  module Marc
    module FieldInfo
      module VarFields
        class SubfieldVal
          # 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/subfield_val.rb
berkeley_library-marc-0.2.0 lib/berkeley_library/marc/field_info/var_fields/subfield_val.rb