Sha256: 88a1bd3794888a6335a67f43782df44cdcdd7340b79ab4abe7cf39143bfc707b
Contents?: true
Size: 617 Bytes
Versions: 3
Compression:
Stored size: 617 Bytes
Contents
# frozen_string_literal: true module RubyJard module Commands # Command used to explore stacktrace. class ListCommand < Pry::ClassCommand group 'RubyJard' description 'Refresh the current UI' match 'list' banner <<-BANNER Usage: list Examples: list l whereami Refresh the current UI. BANNER def process RubyJard::ControlFlow.dispatch(:list) end end end end Pry::Commands.add_command(RubyJard::Commands::ListCommand) Pry::Commands.alias_command 'l', 'list' Pry::Commands.alias_command 'whereami', 'list'
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ruby_jard-0.3.1 | lib/ruby_jard/commands/list_command.rb |
ruby_jard-0.3.0 | lib/ruby_jard/commands/list_command.rb |
ruby_jard-0.2.3 | lib/ruby_jard/commands/list_command.rb |