current_textdomain_info (GetText)

    # File lib/gettext.rb, line 338
      def current_textdomain_info(options = {})
        opts = {:with_messages => false, :with_paths => false, :out => STDOUT}.merge(options)
        ret = nil
        each_textdomain {|textdomain|
          opts[:out].puts "TextDomain name: \"#{textdomain.name}\""
          opts[:out].puts "TextDomain current locale: \"#{textdomain.current_locale}\""
          opts[:out].puts "TextDomain current mo filename: \"#{textdomain.current_mo.filename}\""
          if opts[:with_paths]
            opts[:out].puts "TextDomain locale file paths:"
            textdomain.locale_paths.each do |v|
              opts[:out].puts "  #{v}"
            end
          end
          if opts[:with_messages]
            opts[:out].puts "The messages in the mo file:"
            textdomain.current_mo.each{|k, v|
              opts[:out].puts "  \"#{k}\": \"#{v}\""
            }
          end
        }
      end