Class: GetText::Tools::MsgCat::Config

### Home Classes Methods

### In Files

- lib/gettext/tools/msgcat.rb

### Parent

Object

### Methods

- ::new
- #include_fuzzy?
- #output_obsolete_entries?
- #parse
- #report_warning?

### Included Modules

- GetText

### Class/Module Index

Quicksearch

- GetText
- GetText::ClassInfo
- GetText::ErbParser
- GetText::GladeParser
- GetText::LocalePath
- GetText::MO
- GetText::MO::HeaderRev1
- GetText::MO::InvalidFormat
- GetText::NoboundTextDomainError
- GetText::PO
- GetText::PO::NonExistentEntryError
- GetText::POEntry
- GetText::POEntry::Formatter
- GetText::POEntry::InvalidTypeError
- GetText::POEntry::NoMsgctxtError
- GetText::POEntry::NoMsgidError
- GetText::POEntry::NoMsgidPluralError
- GetText::POEntryForRubyParser
- GetText::POFormat
- GetText::POParser
- GetText::ParseError
- GetText::RubyParser
- GetText::TextDomain
- GetText::TextDomainGroup
- GetText::TextDomainManager
- GetText::Tools
- GetText::Tools::MsgCat
- GetText::Tools::MsgCat::Config
- GetText::Tools::MsgCat::Merger
- GetText::Tools::MsgInit
- GetText::Tools::MsgInit::ArgumentError
- GetText::Tools::MsgInit::Error
- GetText::Tools::MsgInit::ValidationError
- GetText::Tools::MsgMerge
- GetText::Tools::MsgMerge::Config
- GetText::Tools::MsgMerge::FuzzyEntryFinder
- GetText::Tools::MsgMerge::Merger
- GetText::Tools::Task
- GetText::Tools::Task::Error
- GetText::Tools::Task::Path
- GetText::Tools::Task::ValidationError
- GetText::Tools::XGetText

No matching classes.

# 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]

(see output_obsolete_entries?)

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]

(see report_warning?)

### 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.