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

Class Method Summary collapse

Class Attribute Details

.configurationObject

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

Yields:

Returns:



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