deivid-rodriguez/byebug

View on GitHub
lib/byebug/settings/callstyle.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

require_relative "../setting"

module Byebug
  #
  # Setting to customize the verbosity level for stack frames.
  #
  class CallstyleSetting < Setting
    DEFAULT = "long"

    def banner
      "Set how you want method call parameters to be displayed"
    end

    def to_s
      "Frame display callstyle is '#{value}'"
    end
  end
end