Module: Chromate
- Defined in:
- lib/chromate.rb
Overview
Mock implementation of Chromate for testing
Defined Under Namespace
Classes: Browser, Configuration, MockElement
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
6 7 8 |
# File 'lib/chromate.rb', line 6 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
8 9 10 11 |
# File 'lib/chromate.rb', line 8 def configure self.configuration ||= Configuration.new yield(configuration) if block_given? end |