Class: AePageObjects::Configuration
- Inherits:
-
Object
- Object
- AePageObjects::Configuration
- Defined in:
- lib/ae_page_objects/core/configuration.rb
Instance Attribute Summary collapse
-
#paths ⇒ Object
Returns the value of attribute paths.
-
#router ⇒ Object
Returns the value of attribute router.
Instance Method Summary collapse
-
#initialize(application) ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize(application) ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 |
# File 'lib/ae_page_objects/core/configuration.rb', line 5 def initialize(application) @application = application @paths = [application.class.called_from] end |
Instance Attribute Details
#paths ⇒ Object
Returns the value of attribute paths.
3 4 5 |
# File 'lib/ae_page_objects/core/configuration.rb', line 3 def paths @paths end |
#router ⇒ Object
Returns the value of attribute router.
3 4 5 |
# File 'lib/ae_page_objects/core/configuration.rb', line 3 def router @router end |