# File lib/cgikit/lang/mo.rb, line 32 def self.open(arg = nil, output_charset = nil) result = self.new(output_charset) case arg when String result.load_from_file(arg) when IO result.load_from_stream(arg) end result end