lib/byebug/commands/var/all.rb in byebug-9.1.0 vs lib/byebug/commands/var/all.rb in byebug-10.0.0

- old
+ new

@@ -1,7 +1,9 @@ -require 'byebug/helpers/var' +# frozen_string_literal: true +require "byebug/helpers/var" + module Byebug # # Reopens the +var+ command to define the +all+ subcommand # class VarCommand < Command @@ -16,23 +18,23 @@ def self.regexp /^\s* a(?:ll)? \s*$/x end def self.description - <<-EOD + <<-DESCRIPTION v[ar] a[ll] #{short_description} - EOD + DESCRIPTION end def self.short_description - 'Shows local, global and instance variables of self.' + "Shows local, global and instance variables of self." end def execute var_global - var_instance('self') + var_instance("self") var_local end end end end