Method: GetText::PoMessage#==

Defined in:
lib/gettext/tools/pomessage.rb

#==(other) ⇒ Object

Checks if the other translation target is mergeable with the current one. Relevant are msgid and translation context (msgctxt).



62
63
64
# File 'lib/gettext/tools/pomessage.rb', line 62

def ==(other)
  other.msgid == self.msgid && other.msgctxt == self.msgctxt
end