class RDoc::Generator::POT::MessageExtractor
Extracts message from RDoc::Store
Public Class Methods
Source
# File lib/rdoc/generator/pot/message_extractor.rb, line 10 def initialize store @store = store @po = RDoc::Generator::POT::PO.new end
Creates a message extractor for store
.
Public Instance Methods
Source
# File lib/rdoc/generator/pot/message_extractor.rb, line 19 def extract @store.all_classes_and_modules.each do |klass| extract_from_klass(klass) end @po end
Extracts messages from store
, stores them into RDoc::Generator::POT::PO
and returns it.