Sha256: ae27967d77b05a2485ef78d1c9535df32e79ece2d7f7e75072d71846d8125509
Contents?: true
Size: 600 Bytes
Versions: 2
Compression:
Stored size: 600 Bytes
Contents
require 'byebug/helpers/var' module Byebug # # Reopens the +var+ command to define the +local+ subcommand # class VarCommand < Command # # Shows local variables in current scope # class LocalSubcommand < Command include Helpers::VarHelper def regexp /^\s* l(?:ocal)? \s*$/x end def execute var_local end def short_description 'Shows local variables in current scope.' end def description <<-EOD v[ar] l[ocal] #{short_description} EOD end end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
sc_core-0.0.7 | test/dummy/vendor/bundle/ruby/2.2.0/gems/byebug-5.0.0/lib/byebug/commands/var/local.rb |
byebug-5.0.0 | lib/byebug/commands/var/local.rb |