Class: Nightwatch::Configuration
- Inherits:
-
Object
- Object
- Nightwatch::Configuration
- Includes:
- Singleton
- Defined in:
- lib/nightwatch/configuration.rb
Instance Attribute Summary collapse
-
#filters ⇒ Object
Returns the value of attribute filters.
-
#logger ⇒ Object
Returns the value of attribute logger.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
13 14 15 16 |
# File 'lib/nightwatch/configuration.rb', line 13 def initialize @logger = Mongo.new @filters = [AcceptFilter.new] end |
Instance Attribute Details
#filters ⇒ Object
Returns the value of attribute filters.
19 20 21 |
# File 'lib/nightwatch/configuration.rb', line 19 def filters @filters end |
#logger ⇒ Object
Returns the value of attribute logger.
18 19 20 |
# File 'lib/nightwatch/configuration.rb', line 18 def logger @logger end |