Class: SubfieldImpl

Inherits:
Object
  • Object
show all
Defined in:
lib/marc4j4r.rb

Instance Method Summary

Instance Method Details

- (Object) code



365
366
367
# File 'lib/marc4j4r.rb', line 365

def code
  return self.getCode.chr
end

- (Object) to_s



369
370
371
# File 'lib/marc4j4r.rb', line 369

def to_s
  return '$' + self.code + " " + self.data
end

- (Object) value



361
362
363
# File 'lib/marc4j4r.rb', line 361

def value
  return self.data
end