Flowdock
method

create_path_and_open_file

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: Profiler

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

create_path_and_open_file(printer_name) protected

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/testing/performance/rubinius.rb, line 56
          def create_path_and_open_file(printer_name)
            fname = "#{output_filename}_#{printer_name}.txt"
            FileUtils.mkdir_p(File.dirname(fname))
            File.open(fname, 'wb') do |file|
              yield(file)
            end
          end
Register or log in to add new notes.