Parent

Included Modules

GetText::Tools::MsgCat::Config

@private

Attributes

include_fuzzy[W]

(see include_fuzzy?)

order[RW]

@return [:reference, :msgid] The sort key.

output[RW]

@return [String] The output file name.

output_obsolete_entries[W]
po_format_options[RW]

@return [Hash] The PO format options. @see PO#to_s @see POEntry#to_s

pos[RW]

@return [Array<String>] The input PO file names.

remove_header_fields[R]

@return [Array<String>] The field names to be removed from

header entry.
report_warning[W]

Public Class Methods

new() click to toggle source
# File lib/gettext/tools/msgcat.rb, line 170
def initialize
  @pos = []
  @output = nil
  @order = nil
  @po_format_options = {
    :max_line_width => POEntry::Formatter::DEFAULT_MAX_LINE_WIDTH,
  }
  @include_fuzzy = true
  @report_warning = true
  @output_obsolete_entries = true
  @remove_header_fields = []
end

Public Instance Methods

include_fuzzy?() click to toggle source

@return [Boolean] Whether includes fuzzy entries or not.

# File lib/gettext/tools/msgcat.rb, line 184
def include_fuzzy?
  @include_fuzzy
end
output_obsolete_entries?() click to toggle source

@return [Boolean] Whether outputs obsolete entries or not.

# File lib/gettext/tools/msgcat.rb, line 194
def output_obsolete_entries?
  @output_obsolete_entries
end
parse(command_line) click to toggle source
# File lib/gettext/tools/msgcat.rb, line 198
def parse(command_line)
  parser = create_option_parser
  @pos = parser.parse(command_line)
end
report_warning?() click to toggle source

@return [Boolean] Whether reports warning messages or not.

# File lib/gettext/tools/msgcat.rb, line 189
def report_warning?
  @report_warning
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.