lib/marc/datafield.rb in marc-0.8.2 vs lib/marc/datafield.rb in marc-1.0.0

- old
+ new

@@ -36,16 +36,16 @@ # Subfields are passed in as comma separated list of # MARC::Subfield objects, # # field = MARC::DataField.new('245','0','0', # MARC::Subfield.new('a', 'Consilience :'), - # MARC::Subfield.new('b', 'the unity of knowledge ', + # MARC::Subfield.new('b', 'the unity of knowledge '), # MARC::Subfield.new('c', 'by Edward O. Wilson.')) # # or using a shorthand: # # field = MARC::DataField.new('245','0','0', - # ['a', 'Consilience :'],['b','the unity of knowledge ', + # ['a', 'Consilience :'],['b','the unity of knowledge '], # ['c', 'by Edward O. Wilson.'] ) def initialize(tag, i1=' ', i2=' ', *subfields) # if the tag is less than 3 characters long and # the string is all numeric then we pad with zeros