Sha256: 2805ee3fb41b0703d00a702c5a2ae0883b725c8059516db7e354c7299ae238e5
Contents?: true
Size: 551 Bytes
Versions: 6796
Compression:
Stored size: 551 Bytes
Contents
# frozen_string_literal: true class Pry class Command class ShowInput < Pry::ClassCommand match 'show-input' group 'Editing' description 'Show the contents of the input buffer for the current ' \ 'multi-line expression.' banner <<-'BANNER' Show the contents of the input buffer for the current multi-line expression. BANNER def process output.puts Code.new(eval_string).with_line_numbers end end Pry::Commands.add_command(Pry::Command::ShowInput) end end
Version data entries
6,796 entries across 6,792 versions & 31 rubygems