translate (RubyToAnsiC)

    # File lib/ruby_to_ansi_c.rb, line 123
      def self.translate(klass, method=nil)
        # REFACTOR: rename to self.process
        unless method.nil? then
          self.translator.process(ParseTree.new(false).parse_tree_for_method(klass, method))
        else
          ParseTree.new.parse_tree(klass).map do |k|
            self.translator.process(ParseTree.new.parse_tree(klass))
          end
        end
      end