Class: IRB::Context
- Inherits:
-
Object
- Object
- IRB::Context
- Defined in:
- lib/svmlab-irb.rb
Overview
Stian Haklev / Joel VanderWerf To reduce lengthy output
Instance Attribute Summary collapse
-
#max_output_size ⇒ Object
Returns the value of attribute max_output_size.
Instance Method Summary collapse
-
#initialize(*args) ⇒ Context
constructor
A new instance of Context.
- #initialize_before_max_output_size ⇒ Object
Constructor Details
#initialize(*args) ⇒ Context
Returns a new instance of Context.
77 78 79 80 |
# File 'lib/svmlab-irb.rb', line 77 def initialize(*args) initialize_before_max_output_size(*args) @max_output_size = IRB.conf[:MAX_OUTPUT_SIZE] || 70 end |
Instance Attribute Details
#max_output_size ⇒ Object
Returns the value of attribute max_output_size.
74 75 76 |
# File 'lib/svmlab-irb.rb', line 74 def max_output_size @max_output_size end |
Instance Method Details
#initialize_before_max_output_size ⇒ Object
76 |
# File 'lib/svmlab-irb.rb', line 76 alias initialize_before_max_output_size initialize |