Method: Webmachine.configure

Defined in:
lib/webmachine/configuration.rb

.configure {|config| ... } ⇒ Object

Yields the current configuration to the passed block.

Yields:

  • (config)

    a block that will modify the configuration

Yield Parameters:

Returns:

  • self

See Also:



23
24
25
26
# File 'lib/webmachine/configuration.rb', line 23

def self.configure(&block)
  application.configure(&block)
  self
end