Sha256: c5c1b591ba16b8dd32eb57e2641fba67f7b7cab691faac2aeba986942ab06799
Contents?: true
Size: 302 Bytes
Versions: 3
Compression:
Stored size: 302 Bytes
Contents
# frozen_string_literal: true Pry::Commands.create_command 'no-prompt' do description 'Show/hide REPL command prompt prefix' def process case _pry_.prompt when Pry::Prompt[:none][:value] _pry_.pop_prompt else _pry_.push_prompt Pry::Prompt[:none][:value] end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rash-shell-0.3.1 | lib/rash/shell/pry/commands/no_prompt.rb |
rash-shell-0.3.0 | lib/rash/shell/pry/commands/no_prompt.rb |
rash-shell-0.2.0 | lib/rash/shell/pry/commands/no_prompt.rb |