class String
# The parts of my daughter's organ
# instructor's name.
@@syllables = [
{ 'Paij' => 'Personal',
'Gonk' => 'Business',
'Blon' => 'Slave',
'Stro' => 'Master',
'Wert' => 'Father',
'Onnn' => 'Mother' },
{ 'ree' => 'AM',
'plo' => 'PM' }
]
# A method to determine what a
# certain name of his means.
def name_significance
parts = self.split( '-' )
syllables = @@syllables.dup
signif = parts.collect do |p|
syllables.shift[p]
end
signif.join( ' ' )
end
end
print "Paij-ree".name_significance
Y2xhc3MgU3RyaW5nCgogICMgVGhlIHBhcnRzIG9mIG15IGRhdWdodGVyJ3Mgb3JnYW4KICAjIGluc3RydWN0b3IncyBuYW1lLgogIEBAc3lsbGFibGVzID0gWwogICAgeyAnUGFpaicgPT4gJ1BlcnNvbmFsJywKICAgICAgJ0dvbmsnID0+ICdCdXNpbmVzcycsCiAgICAgICdCbG9uJyA9PiAnU2xhdmUnLAogICAgICAnU3RybycgPT4gJ01hc3RlcicsCiAgICAgICdXZXJ0JyA9PiAnRmF0aGVyJywKICAgICAgJ09ubm4nID0+ICdNb3RoZXInIH0sCiAgICB7ICdyZWUnICA9PiAnQU0nLAogICAgICAncGxvJyAgPT4gJ1BNJyB9CiAgXQoKICAjIEEgbWV0aG9kIHRvIGRldGVybWluZSB3aGF0IGEKICAjIGNlcnRhaW4gbmFtZSBvZiBoaXMgbWVhbnMuCiAgZGVmIG5hbWVfc2lnbmlmaWNhbmNlCiAgICBwYXJ0cyA9IHNlbGYuc3BsaXQoICctJyApCiAgICBzeWxsYWJsZXMgPSBAQHN5bGxhYmxlcy5kdXAKICAgIHNpZ25pZiA9IHBhcnRzLmNvbGxlY3QgZG8gfHB8CiAgICAgIHN5bGxhYmxlcy5zaGlmdFtwXQogICAgZW5kCiAgICBzaWduaWYuam9pbiggJyAnICkKICBlbmQKCmVuZAoKcHJpbnQgIlBhaWotcmVlIi5uYW1lX3NpZ25pZmljYW5jZQ==