Class: Byebug::CallstyleSetting

Inherits:
Setting
  • Object
show all
Defined in:
lib/byebug/settings/callstyle.rb

Instance Attribute Summary

Attributes inherited from Setting

#value

Instance Method Summary collapse

Methods inherited from Setting

[], []=, #boolean?, boolean?, exists?, find, format, #integer?, integer?, load, settings, #to_sym

Constructor Details

#initializeCallstyleSetting

Returns a new instance of CallstyleSetting.



3
4
5
# File 'lib/byebug/settings/callstyle.rb', line 3

def initialize
  @value = :long
end

Instance Method Details

#helpObject



7
8
9
# File 'lib/byebug/settings/callstyle.rb', line 7

def help
  'Set how you want method call parameters to be displayed'
end

#to_sObject



11
12
13
# File 'lib/byebug/settings/callstyle.rb', line 11

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