Method deprecated or moved
This method is deprecated or moved on the latest stable version. The last existing version (v2_2_9) is shown here.
merge(other_entry)public
Merges the PO entry with other_entry.
# File lib/rdoc/generator/pot/po_entry.rb, line 55
def merge other_entry
options = {
:extracted_comment => merge_string(@extracted_comment,
other_entry.extracted_comment),
:translator_comment => merge_string(@translator_comment,
other_entry.translator_comment),
:references => merge_array(@references,
other_entry.references),
:flags => merge_array(@flags,
other_entry.flags),
}
self.class.new(@msgid, options)
end Related methods
- Instance methods
- merge
- to_s
- Class methods
- new
- Private methods
-
escape -
format_comment -
format_extracted_comment -
format_flags -
format_message -
format_references -
format_translator_comment -
merge_array -
merge_string