Define Ripper::Lexer::Elem#to_s
Alias #inspect as #to_s also in the new Ripper::Lexer::Elem class, so that puts Ripper::Lexer.new(code).scan shows the attributes.
#inspect
#to_s
Ripper::Lexer::Elem
puts Ripper::Lexer.new(code).scan
Define Ripper::Lexer::Elem#to_s
Alias
#inspectas#to_salso in the newRipper::Lexer::Elemclass, so that
puts Ripper::Lexer.new(code).scanshows theattributes.