Class: Byebug::CallstyleSetting
- Defined in:
- lib/byebug/settings/callstyle.rb
Instance Attribute Summary
Attributes inherited from Setting
Instance Method Summary collapse
- #help ⇒ Object
-
#initialize ⇒ CallstyleSetting
constructor
A new instance of CallstyleSetting.
- #to_s ⇒ Object
Methods inherited from Setting
[], []=, #boolean?, boolean?, exists?, find, format, #integer?, integer?, load, settings, #to_sym
Constructor Details
#initialize ⇒ CallstyleSetting
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
#help ⇒ Object
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_s ⇒ Object
11 12 13 |
# File 'lib/byebug/settings/callstyle.rb', line 11 def to_s "Frame display callstyle is :#{value}" end |