Sha256: 70c1563214ac5aeb82d513f4b20bef8285729f1bc0ad1d9e75dbe0ee33594834

Contents?: true

Size: 242 Bytes

Versions: 3

Compression:

Stored size: 242 Bytes

Contents

Pry::CLI.add_options do

  on :w, :wrap, "Run the script wrapped by the exception explorer", true do |file|
    require 'pry-exception_explorer/exception_wrap'

    PryExceptionExplorer.wrap do
      require file
    end

    exit
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pry-exception_explorer-0.1.0pre3 lib/pry-exception_explorer/cli.rb
pry-exception_explorer-0.1.0pre2 lib/pry-exception_explorer/cli.rb
pry-exception_explorer-0.1.0pre1 lib/pry-exception_explorer/cli.rb