Class: CypressRails::Configuration
- Inherits:
-
Object
- Object
- CypressRails::Configuration
- Defined in:
- lib/cypress_rails/configuration.rb
Instance Attribute Summary collapse
-
#before_each ⇒ Object
Returns the value of attribute before_each.
-
#scripts_path ⇒ Object
Returns the value of attribute scripts_path.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 |
# File 'lib/cypress_rails/configuration.rb', line 5 def initialize @before_each = -> {} @scripts_path = "spec/cypress/seeds" end |
Instance Attribute Details
#before_each ⇒ Object
Returns the value of attribute before_each.
3 4 5 |
# File 'lib/cypress_rails/configuration.rb', line 3 def before_each @before_each end |
#scripts_path ⇒ Object
Returns the value of attribute scripts_path.
3 4 5 |
# File 'lib/cypress_rails/configuration.rb', line 3 def scripts_path @scripts_path end |