Method: GetText::POEntry#plural?

Defined in:
lib/gettext/po_entry.rb

#plural?Boolean

Returns true if the type is kind of plural.

Returns:

  • (Boolean)


184
185
186
# File 'lib/gettext/po_entry.rb', line 184

def plural?
  [:plural, :msgctxt_plural].include?(@type)
end