Class: Ansi::Selector::SingleImpl
- Defined in:
- lib/ansi/selector/single_impl.rb
Constant Summary
Constants inherited from Impl
Impl::CODES, Impl::POSITION_SCRIPT_PATH
Instance Method Summary collapse
-
#initialize(options, formatter, preselected) ⇒ SingleImpl
constructor
A new instance of SingleImpl.
Methods inherited from Impl
#all_options_fit?, #select, #terminal_columns, #terminal_lines
Constructor Details
#initialize(options, formatter, preselected) ⇒ SingleImpl
Returns a new instance of SingleImpl.
6 7 8 9 |
# File 'lib/ansi/selector/single_impl.rb', line 6 def initialize(, formatter, preselected) super @highlighted_line_index = preselected end |