Commit 8c2904cc by Jon Yurek

Don't commit commented code.

parent 454b5ca5
...@@ -44,7 +44,6 @@ class Test::Unit::TestCase ...@@ -44,7 +44,6 @@ class Test::Unit::TestCase
end end
def teardown def teardown
# report_file:
end end
def report_files def report_files
...@@ -231,35 +230,3 @@ def assert_frame_dimensions(range, frames) ...@@ -231,35 +230,3 @@ def assert_frame_dimensions(range, frames)
end end
end end
end end
# class File
# def initialize_with_logging(*args)
# if args.first != "/Users/jyurek/.pry_history"
# pp "NEW FILE #{args.inspect}"
# # pp caller
# end
# initialize_without_logging(*args)
# end
# alias_method :initialize_without_logging, :initialize
# alias_method :initialize, :initialize_with_logging
#
# def close_with_logging(*args)
# if path != "/Users/jyurek/.pry_history"
# pp "CLOSE FILE #{self.path}"
# # pp caller
# end
# close_without_logging(*args)
# end
# alias_method :close_without_logging, :close
# alias_method :close, :close_with_logging
# end
#
# class Tempfile
# def initialize_with_logging(*args)
# # pp "NEW #{args.inspect}"
# # pp caller
# initialize_without_logging(*args)
# end
# alias_method :initialize_without_logging, :initialize
# alias_method :initialize, :initialize_with_logging
# end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment