module ROM::Configurable

This extension is only used for environment objects to configure arbitrary options, each adapter can use them according to what they need.

@api private

Public Instance Methods

config() click to toggle source

Return config instance

@return [Config]

@api private

# File lib/rom/support/configurable.rb, line 86
def config
  @config ||= Config.new
end
configure() { |config| ... } click to toggle source

Yield config instance

@return [self]

@api public

# File lib/rom/support/configurable.rb, line 95
def configure
  yield(config)
  self
end