Sha256: 2ec8fd327ba8098f834059748cd68c11af4b94cd18c9bc47ebf4545769c078f4

Contents?: true

Size: 326 Bytes

Versions: 36

Compression:

Stored size: 326 Bytes

Contents

require 'byebug/setting'

module Byebug
  #
  # Setting to customize the maximum width of byebug's output.
  #
  class WidthSetting < Setting
    DEFAULT = 160

    def banner
      "Number of characters per line in byebug's output"
    end

    def to_s
      "Maximum width of byebug's output is #{value}"
    end
  end
end

Version data entries

36 entries across 34 versions & 5 rubygems

Version Path
byebug-8.2.0 lib/byebug/settings/width.rb
byebug-8.1.0 lib/byebug/settings/width.rb
byebug-8.0.1 lib/byebug/settings/width.rb
byebug-8.0.0 lib/byebug/settings/width.rb
byebug-7.0.0 lib/byebug/settings/width.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/byebug-5.0.0/lib/byebug/settings/width.rb
byebug-6.0.2 lib/byebug/settings/width.rb
byebug-6.0.1 lib/byebug/settings/width.rb
byebug-6.0.0 lib/byebug/settings/width.rb
byebug-5.0.0 lib/byebug/settings/width.rb
byebug-4.0.5 lib/byebug/settings/width.rb
byebug-4.0.4 lib/byebug/settings/width.rb
byebug-4.0.3 lib/byebug/settings/width.rb
byebug-4.0.2 lib/byebug/settings/width.rb
byebug-4.0.1 lib/byebug/settings/width.rb
byebug-4.0.0 lib/byebug/settings/width.rb