lib/webmachine/configuration.rb in webmachine-1.6.0 vs lib/webmachine/configuration.rb in webmachine-2.0.0.beta
- old
+ new
@@ -10,10 +10,10 @@
# @attr [Hash] adapter_options adapter-specific options, defaults to {}
Configuration = Struct.new(:ip, :port, :adapter, :adapter_options)
# @return [Configuration] the default configuration
def Configuration.default
- new("0.0.0.0", 8080, :WEBrick, {})
+ new('0.0.0.0', 8080, :WEBrick, {})
end
# Yields the current configuration to the passed block.
# @yield [config] a block that will modify the configuration
# @yieldparam [Configuration] config the adapter configuration