lib/steamd/code_generator.rb
def generate
      make_output_directory

      files.each do |file|
        File.write("#{@output}/#{File.basename(file, '.*')}.rb",
                   Steamd::Generator::Ruby.new(file).run)
      end
    end
def generate
      make_output_directory

      files.each do |file|
        File.write("#{@output}/#{File.basename(file, '.*')}.rb",
                   Steamd::Generator::Ruby.new(file).run)
      end
    end
def generate make_output_directory files . each do | file | File . write ( "#{@output}/#{File.basename(file, '.*')}.rb" , Steamd :: Generator :: Ruby . new ( file ) . run ) end end
Generates ruby code from the input, places the Ruby files
 in the output
Generates ruby code from the input places the Ruby files in the output