Class: Ruber::RSpec::ConfigWidget
- Inherits:
-
Qt::Widget
- Object
- Qt::Widget
- Ruber::RSpec::ConfigWidget
- Defined in:
- plugins/rspec/rspec.rb,
plugins/rspec/rspec.rb
Constant Summary
- AUTO_EXPAND =
The symbols associated with the entries in the
_rake__auto_expand
widget [:expand_none, :expand_first, :expand_all]
Instance Method Summary (collapse)
-
- (Symbol) auto_expand
Store method for the
rspec/auto_expand
option. -
- (Symbol) auto_expand(value)
Writer method for the
rspec/auto_expand
option. -
- (ConfigWidget) initialize(parent = nil)
constructor
A new instance of ConfigWidget.
API for feature rspec
Constructor Details
- (ConfigWidget) initialize(parent = nil)
A new instance of ConfigWidget
1033 1034 1035 1036 1037 |
# File 'plugins/rspec/rspec.rb', line 1033 def initialize parent = nil super @ui = Ui::RSpecConfigWidget.new @ui.setup_ui self end |
Instance Method Details
- (Symbol) auto_expand
Store method for the rspec/auto_expand
option
1054 1055 1056 |
# File 'plugins/rspec/rspec.rb', line 1054 def AUTO_EXPAND[@ui..current_index] end |
- (Symbol) auto_expand=(value)
Writer method for the rspec/auto_expand
option
1045 1046 1047 |
# File 'plugins/rspec/rspec.rb', line 1045 def value @ui..current_index = AUTO_EXPAND.index value end |