Created
October 13, 2011 16:20
-
-
Save rsinger/1284680 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# to get the field as a string, without the tag and indicators | |
# useful in situations where you want a legible version of the field | |
# | |
# print record['245'].value | |
def value(delim='') | |
return(@subfields.map {|s| s.value}.join(delim)) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment