Class: IRB::ExtendCommand::TraceCommand
- Inherits:
-
Nop
- Object
- Nop
- IRB::ExtendCommand::TraceCommand
- Defined in:
- lib/ruby_tracer/irb.rb
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.transform_args(args) ⇒ Object
33 34 35 36 37 38 39 40 |
# File 'lib/ruby_tracer/irb.rb', line 33 def transform_args(args) # Return a string literal as is for backward compatibility if args.empty? || string_literal?(args) args else # Otherwise, consider the input as a String for convenience args.strip.dump end end |