Sha256: 74501f01f45a05ea22902097c62fa3fd8ba933b9c2f60d54e351713071afbdfb
Contents?: true
Size: 639 Bytes
Versions: 3
Compression:
Stored size: 639 Bytes
Contents
module MARC4J4R ControlField = Java::org.marc4j.marc.impl::ControlFieldImpl class ControlField def value return self.data end def value= str self.data = str end def controlField? return true end def self.control_tag? tag return Java::org.marc4j.marc.impl.Verifier.isControlField tag end # Pretty-print # @param [String] joiner What string to use to join the subfields # @param [String] The pretty string def to_s return self.tag + " " + self.value end def == other self.tag == other.tag && self.value == other.value end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
marc4j4r-0.9.0 | lib/marc4j4r/controlfield.rb |
marc4j4r-0.2.4 | lib/marc4j4r/controlfield.rb |
marc4j4r-0.2.2 | lib/marc4j4r/controlfield.rb |