Flowdock
method

create_path_and_open_file

Importance_0
v3.2.3 - Show latest stable - 0 notes - Class: Profiler
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.