Module: Splinter
- Defined in:
- lib/splinter.rb,
lib/splinter/api.rb,
lib/splinter/version.rb,
lib/splinter/ooo_types.rb,
lib/splinter/ooo_events.rb,
lib/splinter/configuration.rb
Defined Under Namespace
Classes: API, Configuration, Error, OOOEvents, OOOTypes
Constant Summary collapse
- VERSION =
'0.1.8'
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
-
.configure {|configuration| ... } ⇒ Splinter::Configuration
Returns the configuration class instance if block given.
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
13 14 15 |
# File 'lib/splinter.rb', line 13 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Splinter::Configuration
Returns the configuration class instance if block given
19 20 21 22 23 |
# File 'lib/splinter.rb', line 19 def self.configure self.configuration ||= ::Splinter::Configuration.new yield(configuration) if block_given? end |