Sha256: 16fc9fa83d3c169b1af0fb8591ec081b0dba60aff9e7c3a7f6eaf2d64861dcb6
Contents?: true
Size: 396 Bytes
Versions: 14
Compression:
Stored size: 396 Bytes
Contents
# encoding: utf-8 # frozen_string_literal: false # A pry shell for live coding. # Will start with your sketch. require_relative 'base' Processing.load_and_run_sketch class PryException < StandardError end MESSAGE = "You need to 'jruby -S gem install pry' for 'live' mode" if Gem::Specification.find_all_by_name('pry').any? require 'pry' $app.pry else fail(PryException.new, MESSAGE) end
Version data entries
14 entries across 14 versions & 1 rubygems