lib/webmachine/configuration.rb in webmachine-1.4.0 vs lib/webmachine/configuration.rb in webmachine-1.5.0
- old
+ new
@@ -3,10 +3,10 @@
# multiple web server adapters. Typically set using
# {Webmachine::configure}. If not set by your application, the
# defaults will be filled in when {Webmachine::run} is called.
# @attr [String] ip the interface to bind to, defaults to "0.0.0.0"
# (all interfaces)
- # @attr [Fixnum] port the port to bind to, defaults to 8080
+ # @attr [Integer] port the port to bind to, defaults to 8080
# @attr [Symbol] adapter the adapter to use, defaults to :WEBrick
# @attr [Hash] adapter_options adapter-specific options, defaults to {}
Configuration = Struct.new(:ip, :port, :adapter, :adapter_options)
# @return [Configuration] the default configuration