Class: OptionLab::Configuration
- Inherits:
-
Object
- Object
- OptionLab::Configuration
- Defined in:
- lib/option_lab/configuration.rb
Overview
Configuration class for OptionLab Controls validation and behavior throughout the library
Instance Attribute Summary collapse
-
#check_array_model_only ⇒ Object
Returns the value of attribute check_array_model_only.
-
#check_closed_positions_only ⇒ Object
Returns the value of attribute check_closed_positions_only.
-
#check_date_target_mixing_only ⇒ Object
Returns the value of attribute check_date_target_mixing_only.
-
#check_dates_or_days_only ⇒ Object
Returns the value of attribute check_dates_or_days_only.
-
#check_expiration_dates_only ⇒ Object
Returns the value of attribute check_expiration_dates_only.
-
#skip_strategy_validation ⇒ Object
Returns the value of attribute skip_strategy_validation.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
14 15 16 17 18 19 20 21 |
# File 'lib/option_lab/configuration.rb', line 14 def initialize @skip_strategy_validation = false @check_closed_positions_only = false @check_expiration_dates_only = false @check_date_target_mixing_only = false @check_dates_or_days_only = false @check_array_model_only = false end |
Instance Attribute Details
#check_array_model_only ⇒ Object
Returns the value of attribute check_array_model_only.
7 8 9 |
# File 'lib/option_lab/configuration.rb', line 7 def check_array_model_only @check_array_model_only end |
#check_closed_positions_only ⇒ Object
Returns the value of attribute check_closed_positions_only.
7 8 9 |
# File 'lib/option_lab/configuration.rb', line 7 def check_closed_positions_only @check_closed_positions_only end |
#check_date_target_mixing_only ⇒ Object
Returns the value of attribute check_date_target_mixing_only.
7 8 9 |
# File 'lib/option_lab/configuration.rb', line 7 def check_date_target_mixing_only @check_date_target_mixing_only end |
#check_dates_or_days_only ⇒ Object
Returns the value of attribute check_dates_or_days_only.
7 8 9 |
# File 'lib/option_lab/configuration.rb', line 7 def check_dates_or_days_only @check_dates_or_days_only end |
#check_expiration_dates_only ⇒ Object
Returns the value of attribute check_expiration_dates_only.
7 8 9 |
# File 'lib/option_lab/configuration.rb', line 7 def check_expiration_dates_only @check_expiration_dates_only end |
#skip_strategy_validation ⇒ Object
Returns the value of attribute skip_strategy_validation.
7 8 9 |
# File 'lib/option_lab/configuration.rb', line 7 def skip_strategy_validation @skip_strategy_validation end |