Sha256: 4b67c79deca9c7ae80b2130b2a20a9db621726e1519631f0c6fb4b3be1cdcc6d

Contents?: true

Size: 446 Bytes

Versions: 1

Compression:

Stored size: 446 Bytes

Contents

#!/usr/bin/env ruby

require 'packet_genie'
require 'colorize'
require 'pry'

prompt_name = "magic lamp ".bold + ">>".red

Pry.config.prompt = [
  proc { |target_self, nest_level, pry|
    "#{prompt_name}#{":#{nest_level}" unless nest_level.zero?} "
  },
  proc { |target_self, nest_level, pry|
    "#{prompt_name}(#{Pry.view_clip(target_self)})#{":#{nest_level}" unless nest_level.zero?}* "
  }
]
Pry.config.prompt_name = prompt_name

Pry.start

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
packet_genie-1.0.0.pre bin/lamp