Sha256: 9f17d367a57a6204158e6cd855d3098efd0b11acb8f5041fcacdb466ec298664

Contents?: true

Size: 454 Bytes

Versions: 159

Compression:

Stored size: 454 Bytes

Contents

class Pry
  class Command::SimplePrompt < Pry::ClassCommand
    match 'simple-prompt'
    group 'prompts'
    description 'Toggle the simple prompt.'

    banner <<-'BANNER'
      Toggle the simple prompt.
    BANNER

    def process
      case _pry_.prompt
      when Pry::SIMPLE_PROMPT
        _pry_.pop_prompt
      else
        _pry_.push_prompt Pry::SIMPLE_PROMPT
      end
    end
  end

  Pry::Commands.add_command(Pry::Command::SimplePrompt)
end

Version data entries

159 entries across 152 versions & 35 rubygems

Version Path
logstash-output-scalyr-0.1.9 vendor/bundle/jruby/2.5.0/gems/pry-0.10.4-java/lib/pry/commands/simple_prompt.rb
logstash-output-scalyr-0.1.8 vendor/bundle/jruby/2.5.0/gems/pry-0.10.4-java/lib/pry/commands/simple_prompt.rb
logstash-output-scalyr-0.1.7 vendor/bundle/jruby/2.5.0/gems/pry-0.10.4-java/lib/pry/commands/simple_prompt.rb
logstash-output-scalyr-0.1.6 vendor/bundle/jruby/2.5.0/gems/pry-0.10.4-java/lib/pry/commands/simple_prompt.rb
logstash-output-newrelic-1.2.0 vendor/bundle/jruby/2.5.0/gems/pry-0.10.4-java/lib/pry/commands/simple_prompt.rb
logstash-filter-csharp-0.2.1 vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/simple_prompt.rb
logstash-filter-csharp-0.2.1 vendor/bundle/jruby/2.5.0/gems/pry-0.10.4-java/lib/pry/commands/simple_prompt.rb
logstash-filter-csharp-0.2.0 vendor/bundle/jruby/2.5.0/gems/pry-0.10.4-java/lib/pry/commands/simple_prompt.rb
logstash-filter-csharp-0.2.0 vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/simple_prompt.rb
logstash-output-scalyr-0.1.5 vendor/bundle/jruby/2.5.0/gems/pry-0.10.4-java/lib/pry/commands/simple_prompt.rb
logstash-output-scalyr-0.1.4 vendor/bundle/jruby/2.5.0/gems/pry-0.10.4-java/lib/pry/commands/simple_prompt.rb
logstash-output-scalyr-0.1.3 vendor/bundle/jruby/2.5.0/gems/pry-0.10.4-java/lib/pry/commands/simple_prompt.rb
logstash-output-scalyr-0.1.2 vendor/bundle/jruby/2.5.0/gems/pry-0.10.4-java/lib/pry/commands/simple_prompt.rb
dadapush_client-1.0.1 vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/simple_prompt.rb
xaiml-0.1.3 vendor/bundle/ruby/2.5.0/gems/pry-0.11.3/lib/pry/commands/simple_prompt.rb
xaiml-0.1.2 vendor/bundle/ruby/2.5.0/gems/pry-0.11.3/lib/pry/commands/simple_prompt.rb
xaiml-0.1.1 vendor/bundle/ruby/2.5.0/gems/pry-0.11.3/lib/pry/commands/simple_prompt.rb
xaiml-0.1.0 vendor/bundle/ruby/2.5.0/gems/pry-0.11.3/lib/pry/commands/simple_prompt.rb
logstash-filter-device_detection-1.0.7-java vendor/bundle/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/simple_prompt.rb
mrcooper-logstash-output-azuresearch-0.2.2 vendor/jruby/2.5.0/gems/pry-0.10.4-java/lib/pry/commands/simple_prompt.rb