Class: SubfieldImpl
- Inherits:
-
Object
- Object
- SubfieldImpl
- Defined in:
- lib/marc4j4r.rb
Instance Method Summary
Instance Method Details
- (Object) ==(other)
498 499 500 |
# File 'lib/marc4j4r.rb', line 498 def == other return self.code == other.code and self.data == other.data end |
- (Object) code
506 507 508 |
# File 'lib/marc4j4r.rb', line 506 def code return self.getCode.chr end |
- (Object) to_s
510 511 512 |
# File 'lib/marc4j4r.rb', line 510 def to_s return '$' + self.code + " " + self.data end |
- (Object) value
502 503 504 |
# File 'lib/marc4j4r.rb', line 502 def value return self.data end |