Module: NPlusOneControl::RSpec::DSL
- Defined in:
- lib/n_plus_one_control/rspec/dsl.rb
Overview
Includes scale method into RSpec Example
Defined Under Namespace
Modules: ClassMethods
Instance Attribute Summary collapse
-
#executor ⇒ Object
Returns the value of attribute executor.
Instance Method Summary collapse
Instance Attribute Details
#executor ⇒ Object
Returns the value of attribute executor.
27 28 29 |
# File 'lib/n_plus_one_control/rspec/dsl.rb', line 27 def executor @executor end |
Instance Method Details
#current_scale ⇒ Object
29 30 31 |
# File 'lib/n_plus_one_control/rspec/dsl.rb', line 29 def current_scale executor&.current_scale end |