Method: MARC::Subfield#==

Defined in:
lib/marc/subfield.rb

#==(other) ⇒ Object



18
19
20
21
22
23
24
25
# File 'lib/marc/subfield.rb', line 18

def ==(other)
  if @code != other.code
    return false
  elsif @value != other.value
    return false
  end
  return true
end