Class: File
- Inherits:
-
Object
- Object
- File
- Defined in:
- lib/tcell_agent/instrumentation/monkey_patches/ruby_2/file.rb,
lib/tcell_agent/instrumentation/monkey_patches/ruby_3/file.rb
Instance Method Summary collapse
- #new(*args, **kwargs, &block) ⇒ Object
- #open(*args, **kwargs, &block) ⇒ Object
- #tcell_original_new ⇒ Object
- #tcell_original_open ⇒ Object
Instance Method Details
#new(*args, **kwargs, &block) ⇒ Object
5 6 7 8 9 |
# File 'lib/tcell_agent/instrumentation/monkey_patches/ruby_2/file.rb', line 5 def new(*args, &block) TCellAgent::Instrumentation::Lfi.default_open_handler(args) tcell_original_new(*args, &block) end |
#open(*args, **kwargs, &block) ⇒ Object
14 15 16 17 18 |
# File 'lib/tcell_agent/instrumentation/monkey_patches/ruby_2/file.rb', line 14 def open(*args, &block) TCellAgent::Instrumentation::Lfi.default_open_handler(args) tcell_original_open(*args, &block) end |
#tcell_original_new ⇒ Object
4 5 6 7 8 |
# File 'lib/tcell_agent/instrumentation/monkey_patches/ruby_2/file.rb', line 4 def new(*args, &block) TCellAgent::Instrumentation::Lfi.default_open_handler(args) tcell_original_new(*args, &block) end |
#tcell_original_open ⇒ Object
13 14 15 16 17 |
# File 'lib/tcell_agent/instrumentation/monkey_patches/ruby_2/file.rb', line 13 def open(*args, &block) TCellAgent::Instrumentation::Lfi.default_open_handler(args) tcell_original_open(*args, &block) end |